summaryrefslogblamecommitdiff
path: root/test/files/neg/macro-bundle-priority-nonbundle.scala
blob: 8dc00f6dd3c4bd0186199fd4eaae016591d21b70 (plain) (tree)
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: scala.reflect.api.Universe) {
  def impl(x: c.Tree) = ???
}

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

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