aboutsummaryrefslogtreecommitdiff
path: root/tests/disabled/macro/run/reify_anonymous.scala
blob: a7aad4065cfa8f645e446c897fc9fc169fa78623 (plain) (blame)
1
2
3
4
5
6
7
8
import scala.reflect.runtime.universe._
import scala.tools.reflect.Eval

object Test extends dotty.runtime.LegacyApp {
  reify {
    println(new {def x = 2; def y = x * x}.y)
  }.eval
}