diff options
Diffstat (limited to 'tests/untried/neg/t5182.check')
-rw-r--r-- | tests/untried/neg/t5182.check | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/untried/neg/t5182.check b/tests/untried/neg/t5182.check new file mode 100644 index 000000000..3161f9268 --- /dev/null +++ b/tests/untried/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 |