Files
kotlin/compiler/testData/codegen/bytecodeText/argumentOrder/argumentReorderWithDefault.kt
2016-02-01 18:32:12 +03:00

13 lines
313 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 + 1 for super call check
// 13 LOAD
// 5 STORE