summaryrefslogtreecommitdiff
path: root/test/files/run/virtpatmat_nested_lists.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/virtpatmat_nested_lists.check')
-rw-r--r--test/files/run/virtpatmat_nested_lists.check5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/files/run/virtpatmat_nested_lists.check b/test/files/run/virtpatmat_nested_lists.check
index d8263ee986..ddf68eeedd 100644
--- a/test/files/run/virtpatmat_nested_lists.check
+++ b/test/files/run/virtpatmat_nested_lists.check
@@ -1 +1,4 @@
-2 \ No newline at end of file
+virtpatmat_nested_lists.scala:5: warning: match may not be exhaustive.
+ List(List(1), List(2)) match { case x :: (y :: Nil) :: Nil => println(y) }
+ ^
+2