Files
kotlin-fork/compiler/testData/ir/irText/firProblems/IntArrayAsVararg.kt
T
Sergej Jaskiewicz e8aa05928d [FIR2IR] Unconditionally disable linkViaSignatures on JVM
It was an experimental compilation mode that we don't need anymore.

KT-64809
2024-01-19 13:35:59 +00:00

14 lines
316 B
Kotlin
Vendored

// FIR_IDENTICAL
// WITH_STDLIB
// ISSUE: KT-60312
// SEPARATE_SIGNATURE_DUMP_FOR_K2
// ^ The main function has a different mangled name when it's computed from its K1 descriptor in K/JVM.
fun main() {
consumeVarargs(1, 2)
consumeVarargs(arr = intArrayOf(41, 42))
}
fun consumeVarargs(vararg arr: Int) {}