diff options
-rw-r--r-- | test/files/pos/attributes.scala (renamed from test/files/run/attributes.scala) | 2 | ||||
-rw-r--r-- | test/files/run/attributes.check | 7 |
2 files changed, 1 insertions, 8 deletions
diff --git a/test/files/run/attributes.scala b/test/files/pos/attributes.scala index ac3b83433f..9bacab8816 100644 --- a/test/files/run/attributes.scala +++ b/test/files/pos/attributes.scala @@ -57,7 +57,7 @@ object myAttrs { class a2(x: Int) extends scala.Annotation; class a3(x: a1) extends scala.Annotation; } -class a4(ns: Array[Int]) extends scala.ClassfileAnnotation; +class a4(ns: Array[Int]) extends scala.Annotation; object O7 { class a1 extends scala.Annotation; class a2(x: Int) extends scala.Annotation; diff --git a/test/files/run/attributes.check b/test/files/run/attributes.check deleted file mode 100644 index 8b11a7018f..0000000000 --- a/test/files/run/attributes.check +++ /dev/null @@ -1,7 +0,0 @@ -attributes.scala:60: 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 a4(ns: Array[Int]) extends scala.ClassfileAnnotation; - ^ -one warning found -no such file: Test |