summaryrefslogtreecommitdiff
path: root/test/files/neg/check-dead.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/check-dead.check')
-rw-r--r--test/files/neg/check-dead.check7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/check-dead.check b/test/files/neg/check-dead.check
new file mode 100644
index 0000000000..be4de3060b
--- /dev/null
+++ b/test/files/neg/check-dead.check
@@ -0,0 +1,7 @@
+check-dead.scala:27: error: dead code following this construct
+ throw new Exception
+ ^
+check-dead.scala:31: error: dead code following this construct
+ throw new Exception
+ ^
+two errors found