mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 00:21:26 +00:00
11 lines
261 B
Kotlin
Vendored
11 lines
261 B
Kotlin
Vendored
class A {
|
|
fun test(x: String?, a: String?, b: String?){}
|
|
|
|
fun box(): String {
|
|
test(x = "x", b = "K", a = "O")
|
|
return "OK"
|
|
}
|
|
}
|
|
// Test argument reordering when call site argument order differs from declaration one
|
|
// 4 LOAD
|
|
// 2 STORE |