mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 08:31:26 +00:00
15 lines
286 B
Kotlin
Vendored
15 lines
286 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
|