summaryrefslogtreecommitdiff
path: root/test/files/neg/t8158.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t8158.check')
-rw-r--r--test/files/neg/t8158.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/t8158.check b/test/files/neg/t8158.check
new file mode 100644
index 0000000000..aaa62ddea4
--- /dev/null
+++ b/test/files/neg/t8158.check
@@ -0,0 +1,4 @@
+Test_2.scala:10: error: not enough patterns for <$anon: AnyRef> offering AnyRef{def isEmpty: Boolean; def get: this.type; def unapply(x: String): this.type}: expected 1, found 0
+ case X() =>
+ ^
+one error found