summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-basic-mamdmi.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/macro-basic-mamdmi.check')
-rw-r--r--test/files/neg/macro-basic-mamdmi.check5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/neg/macro-basic-mamdmi.check b/test/files/neg/macro-basic-mamdmi.check
new file mode 100644
index 0000000000..eef444f7b3
--- /dev/null
+++ b/test/files/neg/macro-basic-mamdmi.check
@@ -0,0 +1,5 @@
+Impls_Macros_Test_1.scala:36: error: macro implementation not found: foo (the most common reason for that is that you cannot use macro implementations in the same compilation run that defines them)
+if you do need to define macro implementations along with the rest of your program, consider two-phase compilation with -Xmacro-fallback-classpath in the second phase pointing to the output of the first phase
+ println(foo(2) + Macros.bar(2) * new Macros().quux(4))
+ ^
+one error found