summaryrefslogtreecommitdiff
path: root/test/files/run/t5224.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t5224.check')
-rw-r--r--test/files/run/t5224.check5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/run/t5224.check b/test/files/run/t5224.check
index e15c1c90eb..b11480acdf 100644
--- a/test/files/run/t5224.check
+++ b/test/files/run/t5224.check
@@ -1,3 +1,8 @@
+t5224.scala:3: 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 Foo(bar: String) extends annotation.ClassfileAnnotation
+ ^
{
@new Foo(bar = "qwe") class C extends AnyRef {
def <init>() = {