summaryrefslogblamecommitdiff
path: root/test/files/run/t5224.check
blob: b11480acdfb5708389145bcd9ce2308e052a6d2d (plain) (tree)
1
2
3
4
5




                                                                                  








                                                
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>();
      ()
    }
  };
  ()
}