diff options
Diffstat (limited to 'tests/untried/neg/t5440.check')
-rw-r--r-- | tests/untried/neg/t5440.check | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/untried/neg/t5440.check b/tests/untried/neg/t5440.check new file mode 100644 index 000000000..1c4592cce --- /dev/null +++ b/tests/untried/neg/t5440.check @@ -0,0 +1,7 @@ +t5440.scala:3: warning: match may not be exhaustive. +It would fail on the following inputs: (List(_), Nil), (Nil, List(_)) + (list1, list2) match { + ^ +error: No warnings can be incurred under -Xfatal-warnings. +one warning found +one error found |