mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-04-04 00:21:30 +00:00
Wrapped annotations test data so it will be processed by namespace comparator correctly.
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
package test;
|
||||
|
||||
import java.lang.String;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
@interface MyAnnotation {
|
||||
String[] value();
|
||||
}
|
||||
public interface AnnotationWithEmptyArrayInParam {
|
||||
|
||||
@MyAnnotation({})
|
||||
class A {
|
||||
|
||||
public @interface MyAnnotation {
|
||||
String[] value();
|
||||
}
|
||||
|
||||
@MyAnnotation({})
|
||||
public class A {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user