Files
kotlin/compiler/testData/loadJava/compiledJava/annotations/NestedEnumArgument.java
Alexander Udalov ec02382976 Assert that reference annotation argument is always an enum value
Rename JavaReferenceAnnotationArgument on that occasion to
JavaEnumValueAnnotationArgument. Also add a test on a nested enum annotation
argument
2014-09-15 19:30:49 +04:00

15 lines
177 B
Java

package test;
public class NestedEnumArgument {
public enum E {
FIRST
}
@interface Anno {
E value();
}
@Anno(E.FIRST)
void foo() {}
}