blob: eac8e538347a5b9bf95d4cbf810c061ea5bdd070 [file]
// IGNORE_BACKEND: JVM
fun box(): String =
testBug(null)
fun testBug(test: Test?): String =
test?.Inner()?.thing ?: "OK"
class Test(val name: String) {
inner class Inner {
val thing: String
get() = name
}
}