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