Files
kotlin/compiler/testData/codegen/bytecodeText/lazyCodegen/negateObjectComp.kt
Alexander Udalov 6a90dc2efe Fix bytecode text tests for language version 1.4
New null check assertions are generated a bit more efficiently, with a
call to `checkNotNull` instead of IFNONNULL+jump.
2020-01-20 19:12:59 +01:00

11 lines
154 B
Kotlin
Vendored

val p: Int? = 1;
val z: Int? = 2;
fun test3() {
if (!(p!! < z!!)) {
val p = 1
}
}
// 2 checkNotNull \(Ljava/lang/Object;\)V
// 1 IF_ICMP