diff options
Diffstat (limited to 'tests/disabled/macro/run/t5224.check')
-rw-r--r-- | tests/disabled/macro/run/t5224.check | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/disabled/macro/run/t5224.check b/tests/disabled/macro/run/t5224.check new file mode 100644 index 000000000..b11480acd --- /dev/null +++ b/tests/disabled/macro/run/t5224.check @@ -0,0 +1,14 @@ +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>() = { + super.<init>(); + () + } + }; + () +} |