aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/macro-term-declared-in-refinement/Macros_Test_2.scala
blob: 49192291e3c30330ed05e44641e9e90f01f7ee0f (plain) (blame)
1
2
3
4
5
6
7
8
import scala.language.reflectiveCalls

class Base

object Test extends dotty.runtime.LegacyApp {
  val macros = new Base { def foo: Unit = macro Impls.foo }
  macros.foo
}