summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-invalidsig-ctx-noctx.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/macro-invalidsig-ctx-noctx.check')
-rw-r--r--test/files/neg/macro-invalidsig-ctx-noctx.check7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/neg/macro-invalidsig-ctx-noctx.check b/test/files/neg/macro-invalidsig-ctx-noctx.check
new file mode 100644
index 0000000000..66fa7c3514
--- /dev/null
+++ b/test/files/neg/macro-invalidsig-ctx-noctx.check
@@ -0,0 +1,7 @@
+Macros_Test_2.scala:2: error: macro implementation has wrong shape:
+ required: (c: scala.reflect.makro.Context)(x: c.Expr[Any]): c.Expr[Any]
+ found : (c: scala.reflect.makro.Context): Nothing
+number of parameter sections differ
+ def foo(x: Any) = macro Impls.foo
+ ^
+one error found