Files
kotlin/compiler/testData/codegen/bytecodeText/constants/partialString.kt
Ting-Yuan Huang 79fcaae991 Implement constant folding in the IR backend for JVM
The newly added pass folds the set of constant functions of the
current backend, plus IrBuiltIns.
2019-03-20 21:02:55 +01:00

7 lines
96 B
Kotlin
Vendored

fun box(): String {
val z = 1;
return "O" + "K".toString() + z
}
// 1 LDC "OK"
// 1 LDC