blob: 38a1ffc04f682b9c8ddb13bc839c8c532ccddf01 [file] [log] [blame]
enum class A {
X {
val x = "OK"
inner class Inner {
fun foo() = this@X.x
}
val z = Inner()
override val test = z.foo()
};
abstract val test: String
}
fun box() = A.X.test