mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-07 08:31:28 +00:00
14 lines
291 B
Kotlin
Vendored
14 lines
291 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
|
|
// 9 LOAD
|
|
// 2 STORE
|