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

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

    val outer = C
    val inner = outer.D
    println(inner.x)
  }.eval
}