aboutsummaryrefslogtreecommitdiff
path: root/tests/disabled/macro/run/t5224.check
blob: b11480acdfb5708389145bcd9ce2308e052a6d2d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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>();
      ()
    }
  };
  ()
}