aboutsummaryrefslogtreecommitdiff
path: root/tests/disabled/macro/run/t5753_2/Impls_Macros_1.scala
blob: d446d37bdf75528e1bfa324fd87a2b46a49ce3a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
import scala.reflect.macros.blackbox.Context

trait Macro_T {
 def foo[T](c: Context)(s: c.Expr[T]) = s
}

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