summaryrefslogtreecommitdiff
path: root/test/files/neg/virtpatmat_exhaust_big.check
diff options
context:
space:
mode:
authorGerard Basler <gerard.basler@gmail.com>2015-05-03 15:45:58 +0200
committerGerard Basler <gerard.basler@gmail.com>2015-05-03 15:45:58 +0200
commit36f2028fba8c8ed4e9cc82f5665edd1b233c88fc (patch)
treecb7f393858ff1915d5de09453304c5776bc2ad09 /test/files/neg/virtpatmat_exhaust_big.check
parent454a1dcf0c3568ea99f669529b4819782b8b2f00 (diff)
downloadscala-36f2028fba8c8ed4e9cc82f5665edd1b233c88fc.tar.gz
scala-36f2028fba8c8ed4e9cc82f5665edd1b233c88fc.tar.bz2
scala-36f2028fba8c8ed4e9cc82f5665edd1b233c88fc.zip
Move test files to the right place.
Diffstat (limited to 'test/files/neg/virtpatmat_exhaust_big.check')
-rw-r--r--test/files/neg/virtpatmat_exhaust_big.check7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/virtpatmat_exhaust_big.check b/test/files/neg/virtpatmat_exhaust_big.check
new file mode 100644
index 0000000000..fddc85a362
--- /dev/null
+++ b/test/files/neg/virtpatmat_exhaust_big.check
@@ -0,0 +1,7 @@
+virtpatmat_exhaust_big.scala:27: warning: match may not be exhaustive.
+It would fail on the following input: Z11()
+ def foo(z: Z) = z match {
+ ^
+error: No warnings can be incurred under -Xfatal-warnings.
+one warning found
+one error found