diff options
Diffstat (limited to 'tests/patmat/t8511.check')
-rw-r--r-- | tests/patmat/t8511.check | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/patmat/t8511.check b/tests/patmat/t8511.check new file mode 100644 index 000000000..df07d019a --- /dev/null +++ b/tests/patmat/t8511.check @@ -0,0 +1,5 @@ +./tests/patmat/t8511.scala:18: warning: match may not be exhaustive. +It would fail on the following input: Baz(), Bar(_) + private def logic(head: Expr): String = head match { + ^ +one warning found
\ No newline at end of file |