aboutsummaryrefslogtreecommitdiff
path: root/tests/disabled/macro/run/macro-repl-dontexpand.check
diff options
context:
space:
mode:
Diffstat (limited to 'tests/disabled/macro/run/macro-repl-dontexpand.check')
-rw-r--r--tests/disabled/macro/run/macro-repl-dontexpand.check16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/disabled/macro/run/macro-repl-dontexpand.check b/tests/disabled/macro/run/macro-repl-dontexpand.check
new file mode 100644
index 000000000..6ecc9245f
--- /dev/null
+++ b/tests/disabled/macro/run/macro-repl-dontexpand.check
@@ -0,0 +1,16 @@
+Type in expressions to have them evaluated.
+Type :help for more information.
+
+scala> def bar1(c: scala.reflect.macros.blackbox.Context) = ???
+bar1: (c: scala.reflect.macros.blackbox.Context)Nothing
+
+scala> def foo1 = macro bar1
+defined term macro foo1: Nothing
+
+scala> def bar2(c: scala.reflect.macros.whitebox.Context) = ???
+bar2: (c: scala.reflect.macros.whitebox.Context)Nothing
+
+scala> def foo2 = macro bar2
+defined term macro foo2: Nothing
+
+scala> :quit