Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
9fc4d94d04f972782fee2dc5b3b25d052d88601a
/
.
/
compiler
/
testData
/
diagnostics
/
tests
/
varargs
/
kt2163.kt
blob: 010f91d0b118e60c43a4ca937d2ac309ac31fca2 [
file
]
// FIR_IDENTICAL
// DIAGNOSTICS: -UNUSED_PARAMETER
fun printAll
(
vararg a
:
Any
)
{}
fun main
(
args
:
Array
<
String
>)
{
printAll
(*
args
)
// Shouldn't be an error
}