aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/macro-bundle-priority-bundle.scala
blob: ab9987b8f7f4c41eef067764a52ea4ab39845c76 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import scala.reflect.macros.whitebox._
import scala.language.experimental.macros

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

object Macros {
  def impl(c: Context)(x: c.Tree) = ???
}

object Test extends App {
  def foo: Unit = macro Macros.impl
}