summaryrefslogtreecommitdiff
path: root/test/files/neg/unchecked-impossible.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/unchecked-impossible.check')
-rw-r--r--test/files/neg/unchecked-impossible.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/unchecked-impossible.check b/test/files/neg/unchecked-impossible.check
new file mode 100644
index 0000000000..0ab371dbaa
--- /dev/null
+++ b/test/files/neg/unchecked-impossible.check
@@ -0,0 +1,4 @@
+unchecked-impossible.scala:5: error: fruitless type test: a value of type T2[Int,Int] cannot also be a Seq[A]
+ case Seq(x) =>
+ ^
+one error found