Files
kotlin/compiler/testData/codegen/bytecodeText/nullCheckOptimization/redundantSafeCall.kt
2018-12-21 16:20:45 +01:00

8 lines
113 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
fun test(s: String) = s?.length
// 0 IFNULL
// 0 IFNONNULL
// 0 intValue
// 0 valueOf