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

11 lines
170 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
fun test() {
val value = System.getProperty("key")
if (value != null) {
value.toUpperCase()
}
}
// 1 IFNULL
// 0 IFNONNULL