summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-invalidshape-c.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/macro-invalidshape-c.check')
-rw-r--r--test/files/neg/macro-invalidshape-c.check6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/macro-invalidshape-c.check b/test/files/neg/macro-invalidshape-c.check
new file mode 100644
index 0000000000..84d8c35222
--- /dev/null
+++ b/test/files/neg/macro-invalidshape-c.check
@@ -0,0 +1,6 @@
+Macros_Test_2.scala:2: error: macro body has wrong shape:
+ required: macro <reference to implementation object>.<implementation method name>
+ or : macro <implementation method name>
+ def foo(x: Any) = macro {2; Impls.foo}
+ ^
+one error found