Files
kotlin/compiler/testData/codegen/bytecodeText/lazyCodegen/negateConstantCompare.kt
Mikhail Zarechenskiy 0134b8819b Optimize const vals by inlining them at use sites
#KT-11734 Fixed
 #KT-13570 Fixed
2016-12-05 22:11:33 +03:00

11 lines
134 B
Kotlin
Vendored

// LANGUAGE_VERSION: 1.0
const val one = 1
const val two = 2
fun test1() {
if (!(one < two)) {
val p = 1
}
}
// 1 IF