diff options
Diffstat (limited to 'test/files/run/macro-expand-tparams-optional')
-rw-r--r-- | test/files/run/macro-expand-tparams-optional/Impls_1.scala | 9 | ||||
-rw-r--r-- | test/files/run/macro-expand-tparams-optional/Macros_Test_2.scala | 4 |
2 files changed, 0 insertions, 13 deletions
diff --git a/test/files/run/macro-expand-tparams-optional/Impls_1.scala b/test/files/run/macro-expand-tparams-optional/Impls_1.scala deleted file mode 100644 index 3b829e2e09..0000000000 --- a/test/files/run/macro-expand-tparams-optional/Impls_1.scala +++ /dev/null @@ -1,9 +0,0 @@ -import scala.reflect.macros.{Context => Ctx} - -object Impls { - def foo[U](c: Ctx) = { - import c.universe._ - val body = Apply(Select(Ident(definitions.PredefModule), newTermName("println")), List(Literal(Constant("don't know U")))) - c.Expr[Unit](body) - } -}
\ No newline at end of file diff --git a/test/files/run/macro-expand-tparams-optional/Macros_Test_2.scala b/test/files/run/macro-expand-tparams-optional/Macros_Test_2.scala deleted file mode 100644 index e72c27881a..0000000000 --- a/test/files/run/macro-expand-tparams-optional/Macros_Test_2.scala +++ /dev/null @@ -1,4 +0,0 @@ -object Test extends App { - def foo[U] = macro Impls.foo[U] - foo[Int] -}
\ No newline at end of file |