Files
kotlin/compiler/testData/codegen/bytecodeText/argumentOrder/argumentReorderWithDefault.kt
Michael Bogdanov cd78514b76 Code clean, small refactorings and tests
#KT-8987 Fixed
2015-10-03 10:53:22 +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
// 12 LOAD
// 5 STORE