summaryrefslogtreecommitdiff
path: root/test/files/run/macro-system-properties.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/macro-system-properties.check')
-rw-r--r--test/files/run/macro-system-properties.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/macro-system-properties.check b/test/files/run/macro-system-properties.check
index ea4c5a664a..b102d319ec 100644
--- a/test/files/run/macro-system-properties.check
+++ b/test/files/run/macro-system-properties.check
@@ -14,9 +14,15 @@ scala> object GrabContext {
defined object GrabContext
scala> object Test { class C(implicit a: Any) { GrabContext.grab } }
+<console>:12: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses
+ object Test { class C(implicit a: Any) { GrabContext.grab } }
+ ^
defined object Test
scala> object Test { class C(implicit a: Any) { GrabContext.grab } }
+<console>:12: warning: a pure expression does nothing in statement position; you may be omitting necessary parentheses
+ object Test { class C(implicit a: Any) { GrabContext.grab } }
+ ^
defined object Test
scala>