diff options
Diffstat (limited to 'tests/bugs185/455608/Code2.java')
-rw-r--r-- | tests/bugs185/455608/Code2.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/bugs185/455608/Code2.java b/tests/bugs185/455608/Code2.java new file mode 100644 index 000000000..6622b7b3e --- /dev/null +++ b/tests/bugs185/455608/Code2.java @@ -0,0 +1,16 @@ +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; + +@Bar(String) +@Foo("abc") +public class Code2 { + +} + +@Retention(RetentionPolicy.RUNTIME) +@interface Foo { String value();} + +@Retention(RetentionPolicy.RUNTIME) +@interface Bar { + Class<?>[] value(); +} |