summaryrefslogtreecommitdiff
path: root/test/files/neg/t7330.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/t7330.check')
-rw-r--r--test/files/neg/t7330.check5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/neg/t7330.check b/test/files/neg/t7330.check
new file mode 100644
index 0000000000..b96d656d2b
--- /dev/null
+++ b/test/files/neg/t7330.check
@@ -0,0 +1,5 @@
+t7330.scala:4: error: pattern must be a value: Y[_]
+Note: if you intended to match against the class, try `case _: Y[_]`
+ 0 match { case Y[_] => }
+ ^
+one error found