summaryrefslogtreecommitdiff
path: root/test/files/pos/t8001/Macros_1.scala
blob: 1f8dab51c184e859cabe52ea7b3589553da5bee5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
import scala.language.experimental.macros
import scala.reflect.macros.BlackboxContext

object Macros {
  def foo = macro impl
  def impl(c: BlackboxContext) = {
    import c.universe._
    q"()"
  }
}