diff options
Diffstat (limited to 'tests/patmat/NonAbstractSealed.check')
-rw-r--r-- | tests/patmat/NonAbstractSealed.check | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/patmat/NonAbstractSealed.check b/tests/patmat/NonAbstractSealed.check new file mode 100644 index 000000000..9224ee370 --- /dev/null +++ b/tests/patmat/NonAbstractSealed.check @@ -0,0 +1,5 @@ +./tests/patmat/NonAbstractSealed.scala:6: warning: match may not be exhaustive. +It would fail on the following input: _: A + (null: A) match { + ^ +one warning found
\ No newline at end of file |