summaryrefslogtreecommitdiff
path: root/test/files/neg/t7285.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t7285.check')
-rw-r--r--test/files/neg/t7285.check10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/files/neg/t7285.check b/test/files/neg/t7285.check
index 108f4292a8..a38772bead 100644
--- a/test/files/neg/t7285.check
+++ b/test/files/neg/t7285.check
@@ -1,13 +1,15 @@
-t7285.scala:15: error: match may not be exhaustive.
+t7285.scala:15: warning: match may not be exhaustive.
It would fail on the following input: (Up, Down)
(d1, d2) match {
^
-t7285.scala:33: error: match may not be exhaustive.
+t7285.scala:33: warning: match may not be exhaustive.
It would fail on the following input: Down
(d1) match {
^
-t7285.scala:51: error: match may not be exhaustive.
+t7285.scala:51: warning: match may not be exhaustive.
It would fail on the following input: (Up, Down)
(d1, d2) match {
^
-three errors found
+error: No warnings can be incurred under -Xfatal-warnings.
+three warnings found
+one error found