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

16 lines
194 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
fun main(p: String?) {
if (p == null) {
"then"
} else {
"else"
}
}
//0 ICONST_0
//0 ICONST_1
//0 ACONST_NULL
//1 IFNONNULL
//1 IF
//1 GOTO