summaryrefslogtreecommitdiff
path: root/test/files/run/delay-good.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/delay-good.check')
-rw-r--r--test/files/run/delay-good.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/delay-good.check b/test/files/run/delay-good.check
index 8eb04c7cff..b4f6b04af7 100644
--- a/test/files/run/delay-good.check
+++ b/test/files/run/delay-good.check
@@ -1,3 +1,9 @@
+delay-good.scala:53: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses
+ f(new C { 5 })
+ ^
+delay-good.scala:73: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses
+ f(new { val x = 5 } with E() { 5 })
+ ^
// new C { }