summaryrefslogtreecommitdiff
path: root/test/files/run/t5699.check
diff options
context:
space:
mode:
authorEugene Vigdorchik <eugene.vigdorchik@gmail.com>2013-03-18 16:34:15 +0400
committerEugene Vigdorchik <eugene.vigdorchik@gmail.com>2013-03-19 14:04:43 +0400
commit50ee635e3c5914f75be57209f7a145fbb3e23d80 (patch)
tree595102d6ccc89304272afa2e1adb07dcd9b46dc8 /test/files/run/t5699.check
parentb7b4f877326acd6a8a24ff60fa1638cc18143c45 (diff)
downloadscala-50ee635e3c5914f75be57209f7a145fbb3e23d80.tar.gz
scala-50ee635e3c5914f75be57209f7a145fbb3e23d80.tar.bz2
scala-50ee635e3c5914f75be57209f7a145fbb3e23d80.zip
SI-5699 correct java parser for annotation defs.
Correct java source parser not to insert a constructor with the type of its value method.
Diffstat (limited to 'test/files/run/t5699.check')
-rwxr-xr-xtest/files/run/t5699.check11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/run/t5699.check b/test/files/run/t5699.check
new file mode 100755
index 0000000000..df19644ae6
--- /dev/null
+++ b/test/files/run/t5699.check
@@ -0,0 +1,11 @@
+[[syntax trees at end of parser]] // annodef.java
+package <empty> {
+ object MyAnnotation extends {
+ def <init>() = _
+ };
+ class MyAnnotation extends scala.annotation.Annotation with _root_.java.lang.annotation.Annotation with scala.annotation.ClassfileAnnotation {
+ def <init>() = _;
+ def value(): String
+ }
+}
+