Files
kotlin/compiler/testData/codegen/bytecodeText/argumentOrder/sameOrderWithDefault.kt

12 lines
319 B
Kotlin
Vendored

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: 15 + 1 for super call check
// 16 LOAD
// 2 STORE