summaryrefslogtreecommitdiff
path: root/test/files/neg/negSeq.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/negSeq.check')
-rw-r--r--test/files/neg/negSeq.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/negSeq.check b/test/files/neg/negSeq.check
new file mode 100644
index 0000000000..aefb0a5fdb
--- /dev/null
+++ b/test/files/neg/negSeq.check
@@ -0,0 +1,4 @@
+negSeq.scala:6: expected pattern type scala.Seq[scala.Int] does not conform to sequence trait List
+ case List(1,2,3) => true // type error: type Seq will not work
+ ^
+one error found