Files
kotlin-fork/compiler/testData/codegen/box/instructions/swap/swapRefToSharedVarLong.kt
T
2018-06-09 19:15:38 +03:00

14 lines
220 B
Kotlin
Vendored

// IGNORE_BACKEND: JS_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) {}