diff options
Diffstat (limited to 'tests/untried/neg/t6666e.check')
-rw-r--r-- | tests/untried/neg/t6666e.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/untried/neg/t6666e.check b/tests/untried/neg/t6666e.check new file mode 100644 index 000000000..318961231 --- /dev/null +++ b/tests/untried/neg/t6666e.check @@ -0,0 +1,4 @@ +t6666e.scala:8: error: Implementation restriction: <$anon: Nothing => Unit> requires premature access to class Crash. + this(Nil.collect{case x =>}) + ^ +one error found |