aboutsummaryrefslogtreecommitdiff
path: root/tests/disabled/macro/run/macro-expand-implicit-macro-is-val/Macros_Test_2.scala
blob: 3b851de05e602946e35026dd18b9132a8f71063e (plain) (blame)
1
2
3
4
5
object Test extends dotty.runtime.LegacyApp {
  implicit def foo: Int = macro Impls.foo
  def bar(implicit x: Int) = println(x)
  bar
}