diff options
Diffstat (limited to 'test/files/neg/annot-nonconst.check')
-rw-r--r-- | test/files/neg/annot-nonconst.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/annot-nonconst.check b/test/files/neg/annot-nonconst.check new file mode 100644 index 0000000000..197ff930a5 --- /dev/null +++ b/test/files/neg/annot-nonconst.check @@ -0,0 +1,4 @@ +annot-nonconst.scala:5: error: attribute argument needs to be a constant; found: Test.this.n + @Length(n) def foo = "foo" + ^ +one error found |