summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-bundle-ambiguous.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/macro-bundle-ambiguous.check')
-rw-r--r--test/files/neg/macro-bundle-ambiguous.check5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/neg/macro-bundle-ambiguous.check b/test/files/neg/macro-bundle-ambiguous.check
new file mode 100644
index 0000000000..8430496455
--- /dev/null
+++ b/test/files/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