summaryrefslogtreecommitdiff
path: root/test/files/neg/t5182.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t5182.check')
-rw-r--r--test/files/neg/t5182.check7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/t5182.check b/test/files/neg/t5182.check
new file mode 100644
index 0000000000..3161f92680
--- /dev/null
+++ b/test/files/neg/t5182.check
@@ -0,0 +1,7 @@
+t5182.scala:2: error: unknown annotation argument name: qwe
+ @java.lang.Deprecated(qwe = "wer") def ok(q:Int) = 1
+ ^
+t5182.scala:3: error: classfile annotation arguments have to be supplied as named arguments
+ @java.lang.Deprecated("wer") def whereAmI(q:Int) = 1
+ ^
+two errors found