summaryrefslogtreecommitdiff
path: root/test/files/run/t3488.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t3488.check')
-rw-r--r--test/files/run/t3488.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/t3488.check b/test/files/run/t3488.check
index 0d66ea1aee..314dfc7838 100644
--- a/test/files/run/t3488.check
+++ b/test/files/run/t3488.check
@@ -1,2 +1,8 @@
+t3488.scala:4: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses
+ println(foo { val List(_*)=List(0); 1 } ())
+ ^
+t3488.scala:5: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses
+ println(foo { val List(_*)=List(0); 1 } (1))
+ ^
0
1