diff options
Diffstat (limited to 'test/files/run/reflection-scala-annotations.check')
-rw-r--r-- | test/files/run/reflection-scala-annotations.check | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/run/reflection-scala-annotations.check b/test/files/run/reflection-scala-annotations.check new file mode 100644 index 0000000000..5bc2786161 --- /dev/null +++ b/test/files/run/reflection-scala-annotations.check @@ -0,0 +1,7 @@ +reflection-scala-annotations.scala:5: warning: Implementation restriction: subclassing Classfile does not +make your annotation visible at runtime. If that is what +you want, you must write the annotation class in Java. +class jann(x: Int, y: Array[Int]) extends ClassfileAnnotation + ^ +new sann(1, immutable.this.List.apply[Int](1, 2)) +new jann(y = Array(1, 2), x = 2) |