aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/macro-bundle-object.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/macro-bundle-object.check')
-rw-r--r--tests/untried/neg/macro-bundle-object.check8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/untried/neg/macro-bundle-object.check b/tests/untried/neg/macro-bundle-object.check
new file mode 100644
index 000000000..b8800105f
--- /dev/null
+++ b/tests/untried/neg/macro-bundle-object.check
@@ -0,0 +1,8 @@
+macro-bundle-object.scala:10: error: macro implementation has incompatible shape:
+ required: (c: scala.reflect.macros.blackbox.Context): c.Expr[Nothing]
+ or : (c: scala.reflect.macros.blackbox.Context): c.Tree
+ found : : Nothing
+number of parameter sections differ
+ def foo = macro Bundle.impl
+ ^
+one error found