summaryrefslogtreecommitdiff
path: root/test/files/run/reify_ann1b.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/reify_ann1b.check')
-rw-r--r--test/files/run/reify_ann1b.check5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/run/reify_ann1b.check b/test/files/run/reify_ann1b.check
index bc046a7455..a046dafeab 100644
--- a/test/files/run/reify_ann1b.check
+++ b/test/files/run/reify_ann1b.check
@@ -1,3 +1,8 @@
+reify_ann1b.scala:6: 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 ann(bar: String) extends annotation.ClassfileAnnotation
+ ^
{
@new ann(bar = "1a") @new ann(bar = "1b") class C[@new ann(bar = "2a") @new ann(bar = "2b") T] extends AnyRef {
@new ann(bar = "3a") @new ann(bar = "3b") <paramaccessor> private[this] val x: T @ann(bar = "4a") @ann(bar = "4b") = _;