mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 08:31:28 +00:00
12 lines
455 B
Kotlin
Vendored
12 lines
455 B
Kotlin
Vendored
fun f(
|
|
<!VAL_OR_VAR_ON_FUN_PARAMETER!>val<!> a: Int,
|
|
<!VAL_OR_VAR_ON_FUN_PARAMETER!>var<!> b: Int,
|
|
c: Int,
|
|
<!MULTIPLE_VARARG_PARAMETERS!>vararg<!> <!VAL_OR_VAR_ON_FUN_PARAMETER!>var<!> d: Int,
|
|
<!MULTIPLE_VARARG_PARAMETERS!>vararg<!> <!VAL_OR_VAR_ON_FUN_PARAMETER!>val<!> e: Int,
|
|
<!MULTIPLE_VARARG_PARAMETERS!>vararg<!> f: Int
|
|
) {
|
|
|
|
|
|
a + b + c + d[0] + e[0] + f[0] // to avoid 'unused parameter'
|
|
} |