summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-invalidret-nontree.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/macro-invalidret-nontree.check')
-rw-r--r--test/files/neg/macro-invalidret-nontree.check7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/macro-invalidret-nontree.check b/test/files/neg/macro-invalidret-nontree.check
new file mode 100644
index 0000000000..7fcc396463
--- /dev/null
+++ b/test/files/neg/macro-invalidret-nontree.check
@@ -0,0 +1,7 @@
+Macros_Test_2.scala:2: error: macro implementation has wrong shape:
+ required: (c: scala.reflect.makro.Context): c.Expr[Any]
+ found : (c: scala.reflect.makro.Context): Int
+type mismatch for return type : c.Expr[Any] does not conform to Int
+ def foo = macro Impls.foo
+ ^
+one error found