Files
kotlin-fork/compiler/testData/diagnostics/testsWithStdLib/varargs/kt5534.kt
T

7 lines
115 B
Kotlin
Vendored

// FIR_IDENTICAL
fun test() {
val p: Array<String> = arrayOf("a")
foo(*p)
}
fun foo(vararg a: String?) = a