summaryrefslogtreecommitdiff
path: root/test/files/neg/t3222.check
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@epfl.ch>2010-03-31 14:00:09 +0000
committerLukas Rytz <lukas.rytz@epfl.ch>2010-03-31 14:00:09 +0000
commit469dc5ebf005e980e26f6122093fd550c15ebb98 (patch)
tree767f8025e0a16f89c1f93fc8c7d7540c8b46d179 /test/files/neg/t3222.check
parentad036896d8ceff4ada884911140b6d245cfe9204 (diff)
downloadscala-469dc5ebf005e980e26f6122093fd550c15ebb98.tar.gz
scala-469dc5ebf005e980e26f6122093fd550c15ebb98.tar.bz2
scala-469dc5ebf005e980e26f6122093fd550c15ebb98.zip
close #3222. review by community
Diffstat (limited to 'test/files/neg/t3222.check')
-rw-r--r--test/files/neg/t3222.check13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/files/neg/t3222.check b/test/files/neg/t3222.check
new file mode 100644
index 0000000000..6170827cc9
--- /dev/null
+++ b/test/files/neg/t3222.check
@@ -0,0 +1,13 @@
+t3222.scala:1: error: not found: type B
+@throws(classOf[B])
+ ^
+t3222.scala:4: error: not found: type D
+ def foo(@throws(classOf[D]) x: Int) {}
+ ^
+t3222.scala:3: error: not found: type C
+ @throws(classOf[C])
+ ^
+t3222.scala:6: error: not found: type E
+ @throws(classOf[E])
+ ^
+four errors found