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

15 lines
317 B
Kotlin
Vendored

// IGNORE_BACKEND: JVM_IR
class A {
fun test(x: String? = "x", a: String?, b: String?, y: String? = "y") {
}
fun box(): String {
test(a = "O", b = "K")
return "OK"
}
}
// Test there is no argument reordering when call site argument order same as declaration one
// 9 LOAD
// 2 STORE