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

17 lines
240 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
class A() {
override fun toString(): String {
return "A"
}
}
fun box() : String {
var s = "1"
s += "2" + 3 + 4L + 5.0 + 6F + '7' + A()
return "OK"
}
// 1 NEW java/lang/StringBuilder