summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-invalidshape-d.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/macro-invalidshape-d.check')
-rw-r--r--test/files/neg/macro-invalidshape-d.check6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/files/neg/macro-invalidshape-d.check b/test/files/neg/macro-invalidshape-d.check
index 031aa653ab..f0d77e2f2d 100644
--- a/test/files/neg/macro-invalidshape-d.check
+++ b/test/files/neg/macro-invalidshape-d.check
@@ -1,4 +1,8 @@
-Macros_Test_2.scala:2: error: illegal start of statement
+Macros_Test_2.scala:2: warning: macro is now a reserved word; usage as an identifier is deprecated
def foo(x: Any) = {2; macro Impls.foo}
^
+Macros_Test_2.scala:2: error: ';' expected but '.' found.
+ def foo(x: Any) = {2; macro Impls.foo}
+ ^
+one warning found
one error found