Files
kotlin-fork/compiler/testData/codegen/box/instructions/swap/swapRefToSharedVarLong.kt
T
2019-11-19 11:00:09 +03:00

14 lines
225 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
//KT-3042 Attempt to split long or double on the stack excepion
fun box(): String {
var a: Long
a = 12.toLong()
fun f() {
foo(a)
}
return "OK"
}
fun foo(l: Long) {}