Files
kotlin/compiler/testData/codegen/bytecodeText/lazyCodegen/negateVarChain.kt
Dmitry Petrov 1378b0cf05 Fix bytecode tests after new optimizations
- Turn some const conditions into non-const conditions
- Make sure inlined const values are used where required
(otherwise they are eliminated by POP backward propagation)
2017-05-16 17:28:43 +03:00

9 lines
99 B
Kotlin
Vendored

val two = 2
fun test2() {
val p = 1 < two
if (!!!!!!p) {
val p = 1
}
}
// 2 IF