[FIR][tests] Unify IntArrayAsVararg.kt test between K1 and K2

Rename `main` function to `test` to avoid running JVM-specific mangling
and having different IR signature dumps for K1 and K2.

^KT-65588
This commit is contained in:
Dmitriy Dolovov
2024-02-14 11:47:58 +01:00
committed by Space Team
parent 41ef3da5ff
commit 05cbe66ee0
5 changed files with 10 additions and 36 deletions
@@ -2,10 +2,7 @@
// 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() {
fun test() {
consumeVarargs(1, 2)
consumeVarargs(arr = intArrayOf(41, 42))
}