summaryrefslogtreecommitdiff
path: root/test/files/neg/t3098.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t3098.check')
-rw-r--r--test/files/neg/t3098.check4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/files/neg/t3098.check b/test/files/neg/t3098.check
index 85829747b9..5343b128f0 100644
--- a/test/files/neg/t3098.check
+++ b/test/files/neg/t3098.check
@@ -1,5 +1,7 @@
-b.scala:3: error: match may not be exhaustive.
+b.scala:3: warning: match may not be exhaustive.
It would fail on the following input: (_ : C)
def f = (null: T) match {
^
+error: No warnings can be incurred under -Xfatal-warnings.
+one warning found
one error found