summaryrefslogtreecommitdiff
path: root/test/pending/run/macro-reify-tagless-b/Impls_Macros_1.scala
blob: 130705239473d4aed231ee01916084f2539e5f87 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
import scala.reflect.macros.blackbox.Context

object Macros {
  def foo[T](s: T) = macro Impls.foo[List[T]]

  object Impls {
    def foo[T](c: Context)(s: c.Expr[T]) = c.universe.reify {
      List(s.splice)
    }
  }
}