Files
kotlin/compiler/testData/codegen/bytecodeText/argumentOrder/argumentReorderWithDefault.kt
2016-01-22 10:10:32 +03:00

13 lines
284 B
Kotlin
Vendored

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