aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/pos/t8001/Macros_1.scala
blob: 077082a9c2432437ce28fcdf6990a1a30e39d331 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
import scala.language.experimental.macros
import scala.reflect.macros.blackbox.Context

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