aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/t5276_2a.scala
blob: 7086fc98306f6be44e2cf20ce616c58c5495a89e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
import scala.reflect.runtime.universe._
import scala.tools.reflect.Eval

object Test extends dotty.runtime.LegacyApp {
  reify {
    class C {
      lazy val x = 2
    }

    println(new C().x)
  }.eval
}