aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/macro-bundle-ambiguous.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/macro-bundle-ambiguous.check')
-rw-r--r--tests/untried/neg/macro-bundle-ambiguous.check5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/untried/neg/macro-bundle-ambiguous.check b/tests/untried/neg/macro-bundle-ambiguous.check
new file mode 100644
index 000000000..843049645
--- /dev/null
+++ b/tests/untried/neg/macro-bundle-ambiguous.check
@@ -0,0 +1,5 @@
+macro-bundle-ambiguous.scala:13: error: macro implementation reference is ambiguous: makes sense both as
+a macro bundle method reference and a vanilla object method reference
+ def foo: Unit = macro Macros.impl
+ ^
+one error found