Files
kotlin-fork/compiler/testData/codegen/bytecodeText/temporaryVals/safeCallChain1.kt
T

11 lines
167 B
Kotlin
Vendored

class A(val b: B)
class B(val c: C)
class C(val s: String)
fun test(an: A?) = an?.b?.c?.s
// JVM_IR_TEMPLATES
// 0 ASTORE
// 3 IFNULL
// 0 IFNONNULL
// 1 ACONST_NULL