aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/t3683a.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/t3683a.check')
-rw-r--r--tests/untried/neg/t3683a.check7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/untried/neg/t3683a.check b/tests/untried/neg/t3683a.check
new file mode 100644
index 000000000..6386265eb
--- /dev/null
+++ b/tests/untried/neg/t3683a.check
@@ -0,0 +1,7 @@
+t3683a.scala:14: warning: match may not be exhaustive.
+It would fail on the following input: XX()
+ w match {
+ ^
+error: No warnings can be incurred under -Xfatal-warnings.
+one warning found
+one error found