summaryrefslogtreecommitdiff
path: root/test/pending/run/macro-expand-macro-has-context-bound/Impls_1.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/pending/run/macro-expand-macro-has-context-bound/Impls_1.scala')
-rw-r--r--test/pending/run/macro-expand-macro-has-context-bound/Impls_1.scala10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/pending/run/macro-expand-macro-has-context-bound/Impls_1.scala b/test/pending/run/macro-expand-macro-has-context-bound/Impls_1.scala
deleted file mode 100644
index 34182b7968..0000000000
--- a/test/pending/run/macro-expand-macro-has-context-bound/Impls_1.scala
+++ /dev/null
@@ -1,10 +0,0 @@
-import scala.reflect.macros.blackbox.Context
-
-object Impls {
- def foo[U](c: Context)(x: c.Expr[U])(evidence: c.Expr[Numeric[U]]) = {
- import c.universe._
- val plusOne = Apply(Select(evidence.tree, TermName("plus")), List(x.tree, Literal(Constant(1))))
- val body = Apply(Select(Ident(definitions.PredefModule), TermName("println")), List(plusOne))
- Expr[Unit](body)
- }
-} \ No newline at end of file