diff options
Diffstat (limited to 'tests/pending/run/repl-term-macros.scala')
-rw-r--r-- | tests/pending/run/repl-term-macros.scala | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/pending/run/repl-term-macros.scala b/tests/pending/run/repl-term-macros.scala deleted file mode 100644 index 32892b731..000000000 --- a/tests/pending/run/repl-term-macros.scala +++ /dev/null @@ -1,20 +0,0 @@ -import scala.tools.partest.ReplTest - -object Test extends ReplTest { - def code = """ - import scala.reflect.macros.blackbox.Context -import language.experimental.macros - -def impl1(c: Context) = { import c.universe._; c.Expr[Unit](q"()") } -def foo1: Unit = macro impl1 -foo1 - -def impl2(c: Context)() = { import c.universe._; c.Expr[Unit](q"()") } -def foo2(): Unit = macro impl2 -foo2() - -def impl3(c: Context)(x: c.Expr[Int])(y: c.Expr[Int]) = { import c.universe._; c.Expr[Unit](q"()") } -def foo3(x: Int)(y: Int): Unit = macro impl3 -foo3(2)(3) - """ -}
\ No newline at end of file |