blob: a1d0860db65d27fd0905275016646b6b93862993 [file] [log] [blame]
// IGNORE_BACKEND: JVM
// IGNORE_LIGHT_ANALYSIS
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
}
}