summaryrefslogtreecommitdiff
path: root/test/files/neg/t4568.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t4568.check')
-rw-r--r--test/files/neg/t4568.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/t4568.check b/test/files/neg/t4568.check
new file mode 100644
index 0000000000..f94d699486
--- /dev/null
+++ b/test/files/neg/t4568.check
@@ -0,0 +1,4 @@
+t4568.scala:8: error: recursive method isSubListOf needs result type
+ case h :: t => y.contains(h) && (t.isSubListOf(y.drop(y.indexOf(h) + 1)))
+ ^
+one error found