summaryrefslogtreecommitdiff
path: root/test/files/run/reify-repl-fail-gracefully.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/reify-repl-fail-gracefully.check')
-rw-r--r--test/files/run/reify-repl-fail-gracefully.check21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/files/run/reify-repl-fail-gracefully.check b/test/files/run/reify-repl-fail-gracefully.check
new file mode 100644
index 0000000000..680db12667
--- /dev/null
+++ b/test/files/run/reify-repl-fail-gracefully.check
@@ -0,0 +1,21 @@
+Type in expressions to have them evaluated.
+Type :help for more information.
+
+scala>
+
+scala> import language.experimental.macros
+import language.experimental.macros
+
+scala> import scala.reflect.mirror._
+import scala.reflect.mirror._
+
+scala>
+
+scala> reify
+<console>:12: error: macros cannot be partially applied
+ reify
+ ^
+
+scala>
+
+scala>