aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/macro-bundle-object.scala
blob: c92571033a8d89d3d5266df1c2d1c9c6c1cc42ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
import scala.language.experimental.macros
import scala.reflect.macros.blackbox.Context

object Bundle {
  val c: Context = ???
  def impl = ???
}

object Macros {
  def foo = macro Bundle.impl
}