diff options
author | Lukas Rytz <lukas.rytz@gmail.com> | 2016-11-02 22:14:36 +0100 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@gmail.com> | 2016-11-02 22:14:36 +0100 |
commit | 9b27a08f78b09f208792835de4673e20e4121284 (patch) | |
tree | 3ad6a38f41ea109c9a1dc8bc453918208455c220 /test/files/neg/t3236-neg/IntAnnotation.java | |
parent | 74c613bd45df26c96833d5eecde6de5bb59d1a4f (diff) | |
download | scala-9b27a08f78b09f208792835de4673e20e4121284.tar.gz scala-9b27a08f78b09f208792835de4673e20e4121284.tar.bz2 scala-9b27a08f78b09f208792835de4673e20e4121284.zip |
neg test for parsing constants in Java sources
Diffstat (limited to 'test/files/neg/t3236-neg/IntAnnotation.java')
-rw-r--r-- | test/files/neg/t3236-neg/IntAnnotation.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/t3236-neg/IntAnnotation.java b/test/files/neg/t3236-neg/IntAnnotation.java new file mode 100644 index 0000000000..2ffad8890c --- /dev/null +++ b/test/files/neg/t3236-neg/IntAnnotation.java @@ -0,0 +1,7 @@ +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; + +@Retention(RetentionPolicy.RUNTIME) +public @interface IntAnnotation { + int value(); +} |