summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/files/run/attributes.check7
-rw-r--r--test/files/run/attributes.scala (renamed from test/files/pos/attributes.scala)0
2 files changed, 7 insertions, 0 deletions
diff --git a/test/files/run/attributes.check b/test/files/run/attributes.check
new file mode 100644
index 0000000000..8b11a7018f
--- /dev/null
+++ b/test/files/run/attributes.check
@@ -0,0 +1,7 @@
+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
diff --git a/test/files/pos/attributes.scala b/test/files/run/attributes.scala
index ac3b83433f..ac3b83433f 100644
--- a/test/files/pos/attributes.scala
+++ b/test/files/run/attributes.scala