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

12 lines
290 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 LOAD
// 2 STORE