summaryrefslogtreecommitdiff
path: root/test/files/neg/t7259.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t7259.scala')
-rw-r--r--test/files/neg/t7259.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/neg/t7259.scala b/test/files/neg/t7259.scala
new file mode 100644
index 0000000000..0fdfe18822
--- /dev/null
+++ b/test/files/neg/t7259.scala
@@ -0,0 +1,9 @@
+@xxxxx // error: not found: type xxxx
+class Ok
+
+//
+// This had the wrong error message in 2.9 and 2.10.
+//
+
+@annotation.xxxxx // error: not found: type scala
+class WrongErrorMessage