diff options
Diffstat (limited to 'tests/untried/neg/t7330.check')
-rw-r--r-- | tests/untried/neg/t7330.check | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/untried/neg/t7330.check b/tests/untried/neg/t7330.check new file mode 100644 index 000000000..b96d656d2 --- /dev/null +++ b/tests/untried/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 |