aboutsummaryrefslogtreecommitdiff
path: root/tests/disabled/macro/run/t5276_2b.scala
blob: cccc76a2d3a4c5b046799184d10ace219ace2cc1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
import scala.reflect.runtime.universe._
import scala.tools.reflect.Eval

object Test extends dotty.runtime.LegacyApp {
  reify {
    class C {
      implicit lazy val x = 2
      def y = implicitly[Int]
    }

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