aboutsummaryrefslogtreecommitdiff
path: root/tests/patmat/t7669.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/patmat/t7669.check')
-rw-r--r--tests/patmat/t7669.check5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/patmat/t7669.check b/tests/patmat/t7669.check
new file mode 100644
index 000000000..2804dbf5c
--- /dev/null
+++ b/tests/patmat/t7669.check
@@ -0,0 +1,5 @@
+./tests/patmat/t7669.scala:10: warning: match may not be exhaustive.
+It would fail on the following input: NotHandled(_)
+ def exhausto(expr: Expr): Unit = expr match {
+ ^
+one warning found \ No newline at end of file