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

18 lines
180 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
val a = 1
fun main() {
if (a == 0) {
"then"
} else {
"else"
}
}
//0 ICONST_0
//1 ICONST_1
//0 IFEQ
//1 IFNE
//1 IF
//1 GOTO