diff options
Diffstat (limited to 'tests/patmat/t3163.check')
-rw-r--r-- | tests/patmat/t3163.check | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/patmat/t3163.check b/tests/patmat/t3163.check new file mode 100644 index 000000000..3da94e2c2 --- /dev/null +++ b/tests/patmat/t3163.check @@ -0,0 +1,5 @@ +./tests/patmat/t3163.scala:2: warning: match may not be exhaustive. +It would fail on the following input: _: AnyVal + def foo(x : AnyVal) = x match {case b : Boolean => "It's a bool"} + ^ +one warning found
\ No newline at end of file |