[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
@@ -1,5 +1,5 @@
FILE fqName:<root> fileName:/IntArrayAsVararg.kt
FUN name:main visibility:public modality:FINAL <> () returnType:kotlin.Unit
FUN name:test visibility:public modality:FINAL <> () returnType:kotlin.Unit
BLOCK_BODY
CALL 'public final fun consumeVarargs (vararg arr: kotlin.Int): kotlin.Unit declared in <root>' type=kotlin.Unit origin=null
arr: VARARG type=kotlin.IntArray varargElementType=kotlin.Int