summaryrefslogtreecommitdiff
path: root/test/files/run/t6146b.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t6146b.check')
-rw-r--r--test/files/run/t6146b.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/run/t6146b.check b/test/files/run/t6146b.check
index 49ff70697e..2333b9d986 100644
--- a/test/files/run/t6146b.check
+++ b/test/files/run/t6146b.check
@@ -1,3 +1,7 @@
+t6146b.scala:15: warning: match may not be exhaustive.
+It would fail on the following inputs: S2(), S3()
+ def foo(f: F[Int]) = f match { case X.S1 => }
+ ^
Type in expressions to have them evaluated.
Type :help for more information.