summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/files/neg/t7757.check4
-rw-r--r--test/files/neg/t7757.scala1
2 files changed, 5 insertions, 0 deletions
diff --git a/test/files/neg/t7757.check b/test/files/neg/t7757.check
new file mode 100644
index 0000000000..8790cbc428
--- /dev/null
+++ b/test/files/neg/t7757.check
@@ -0,0 +1,4 @@
+t7757.scala:1: error: ';' expected but '@' found.
+trait Foo @annot
+ ^
+one error found
diff --git a/test/files/neg/t7757.scala b/test/files/neg/t7757.scala
new file mode 100644
index 0000000000..24f6c16cb4
--- /dev/null
+++ b/test/files/neg/t7757.scala
@@ -0,0 +1 @@
+trait Foo @annot \ No newline at end of file