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

12 lines
287 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
class A {
fun test(x: String?, a: String?, b: String?){}
fun box(): String {
test(x = "x", b = "K", a = "O")
return "OK"
}
}
// Test argument reordering when call site argument order differs from declaration one
// 4 LOAD
// 2 STORE