aboutsummaryrefslogtreecommitdiff
path: root/tests/patmat/t3111.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/patmat/t3111.check')
-rw-r--r--tests/patmat/t3111.check8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/patmat/t3111.check b/tests/patmat/t3111.check
new file mode 100644
index 000000000..46ff0a6a9
--- /dev/null
+++ b/tests/patmat/t3111.check
@@ -0,0 +1,8 @@
+./tests/patmat/t3111.scala:4: warning: match may not be exhaustive.
+It would fail on the following input: false
+ bool match {
+ ^
+./tests/patmat/t3111.scala:11: warning: unreachable code
+ case _ => "cats and dogs living together... mass hysteria!"
+ ^
+two warnings found \ No newline at end of file