diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2013-01-13 13:13:56 +0100 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2013-01-13 13:15:14 +0100 |
commit | 4aba0fe2a2195176693509c735ffdedb52352720 (patch) | |
tree | 64c4f30bd776e1a17502db6d0e5cfe30c165f47d /test/files/neg/t5440.check | |
parent | 9ea0a208346e86031a58fa9c28daf6103778a02f (diff) | |
download | scala-4aba0fe2a2195176693509c735ffdedb52352720.tar.gz scala-4aba0fe2a2195176693509c735ffdedb52352720.tar.bz2 scala-4aba0fe2a2195176693509c735ffdedb52352720.zip |
SI-5440 Test case for exhaustiveness check
Reported against patmatclassic, working in virtpatmat.
Diffstat (limited to 'test/files/neg/t5440.check')
-rw-r--r-- | test/files/neg/t5440.check | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/neg/t5440.check b/test/files/neg/t5440.check new file mode 100644 index 0000000000..a862350a05 --- /dev/null +++ b/test/files/neg/t5440.check @@ -0,0 +1,5 @@ +t5440.scala:3: error: match may not be exhaustive. +It would fail on the following inputs: (List(_), Nil), (Nil, List(_)) + (list1, list2) match { + ^ +one error found |