summaryrefslogblamecommitdiff
path: root/test/files/pos/t8523.scala
blob: dfcb35404df80645b295be025def979ff43505f4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                            
import scala.language.experimental.macros
import scala.reflect.macros.blackbox.Context

class Impl(val c: Context) {
  def impl: c.Tree = ???
}

object Macros {
  def foo: Any = macro Impl.impl
}