summaryrefslogtreecommitdiff
path: root/test/files/run/macro-repl-dontexpand.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/macro-repl-dontexpand.scala')
-rw-r--r--test/files/run/macro-repl-dontexpand.scala7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/files/run/macro-repl-dontexpand.scala b/test/files/run/macro-repl-dontexpand.scala
index 254bce894c..cd1b2e1969 100644
--- a/test/files/run/macro-repl-dontexpand.scala
+++ b/test/files/run/macro-repl-dontexpand.scala
@@ -1,8 +1,9 @@
import scala.tools.partest.ReplTest
object Test extends ReplTest {
- override def extraSettings = "-Xmacros"
+ override def extraSettings = "-language:experimental.macros"
def code = """
- |def macro foo = ???
+ |def bar(c: scala.reflect.makro.Context) = ???
+ |def foo = macro bar
|""".stripMargin
-} \ No newline at end of file
+}