Files
kotlin-fork/compiler/testData/codegen/box/properties/kt3556.kt
T
2019-11-19 11:00:09 +03:00

12 lines
217 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
class Test {
val a : String = "1"
private val b : String get() = a
fun outer() : Int {
return b.length
}
}
fun box() = if (Test().outer() == 1) "OK" else "fail"