diff options
Diffstat (limited to 'tests/pending/run/macro-term-declared-in-object/Impls_1.scala')
-rw-r--r-- | tests/pending/run/macro-term-declared-in-object/Impls_1.scala | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/pending/run/macro-term-declared-in-object/Impls_1.scala b/tests/pending/run/macro-term-declared-in-object/Impls_1.scala deleted file mode 100644 index c43f5f3f5..000000000 --- a/tests/pending/run/macro-term-declared-in-object/Impls_1.scala +++ /dev/null @@ -1,11 +0,0 @@ -import scala.reflect.macros.blackbox.Context - -object Impls { - def foo(c: Context) = { - import c.{prefix => prefix} - import c.universe._ - val printPrefix = Apply(Select(Ident(definitions.PredefModule), TermName("println")), List(Literal(Constant("prefix = " + prefix)))) - val body = Block(List(printPrefix), Apply(Select(Ident(definitions.PredefModule), TermName("println")), List(Literal(Constant("it works"))))) - c.Expr[Unit](body) - } -}
\ No newline at end of file |