Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
2b455fc1ba7dcb99fa03fdfc31c7672d6ccfc9fd
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
varargs
/
kt2163.kt
blob: 1f7e66690a4e5aae45c10fa5143f5e2c7b90d993 [
file
]
// RUN_PIPELINE_TILL: BACKEND
// FIR_IDENTICAL
// DIAGNOSTICS: -UNUSED_PARAMETER
fun printAll
(
vararg a
:
Any
)
{}
fun main
(
args
:
Array
<
String
>)
{
printAll
(*
args
)
// Shouldn't be an error
}
/* GENERATED_FIR_TAGS: functionDeclaration, vararg */