summaryrefslogtreecommitdiff
path: root/test/files/neg/annot-nonconst.check
diff options
context:
space:
mode:
authorLex Spoon <lex@lexspoon.org>2007-05-30 12:54:45 +0000
committerLex Spoon <lex@lexspoon.org>2007-05-30 12:54:45 +0000
commitb0e5eeb119952f30180579b0da4e3acf50891d85 (patch)
tree23f10f718ef53b2b552e17ab227fff6f8b98aa9d /test/files/neg/annot-nonconst.check
parent6e961f3b74aad0848cdde5c9741528f50f0f6e41 (diff)
downloadscala-b0e5eeb119952f30180579b0da4e3acf50891d85.tar.gz
scala-b0e5eeb119952f30180579b0da4e3acf50891d85.tar.bz2
scala-b0e5eeb119952f30180579b0da4e3acf50891d85.zip
Diffstat (limited to 'test/files/neg/annot-nonconst.check')
-rw-r--r--test/files/neg/annot-nonconst.check4
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