IR text tests: Unmute tests that have main function
Don't use `main` function in these tests, because `main` function has specific mangling rules in JVM. Use other function name. ^KT-57755
This commit is contained in:
committed by
Space Team
parent
1759b9e3c4
commit
af247c3344
@@ -1,5 +1,5 @@
|
||||
FILE fqName:<root> fileName:/kt55458.kt
|
||||
FUN name:main visibility:public modality:FINAL <> () returnType:kotlin.Unit
|
||||
FUN name:runMe visibility:public modality:FINAL <> () returnType:kotlin.Unit
|
||||
BLOCK_BODY
|
||||
VAR IR_TEMPORARY_VARIABLE name:tmp_0 type:kotlin.Pair<kotlin.Int, kotlin.Int> [val]
|
||||
CALL 'public final fun to <A, B> (that: B of kotlin.to): kotlin.Pair<A of kotlin.to, B of kotlin.to> declared in kotlin' type=kotlin.Pair<kotlin.Int, kotlin.Int> origin=null
|
||||
@@ -9,6 +9,6 @@ FILE fqName:<root> fileName:/kt55458.kt
|
||||
that: CONST Int type=kotlin.Int value=2
|
||||
VAR name:a type:kotlin.Int [val]
|
||||
CALL 'public final fun component1 (): A of kotlin.Pair declared in kotlin.Pair' type=kotlin.Int origin=COMPONENT_N(index=1)
|
||||
$this: GET_VAR 'val tmp_0: kotlin.Pair<kotlin.Int, kotlin.Int> declared in <root>.main' type=kotlin.Pair<kotlin.Int, kotlin.Int> origin=null
|
||||
$this: GET_VAR 'val tmp_0: kotlin.Pair<kotlin.Int, kotlin.Int> declared in <root>.runMe' type=kotlin.Pair<kotlin.Int, kotlin.Int> origin=null
|
||||
CALL 'public final fun println (message: kotlin.Any?): kotlin.Unit declared in kotlin.io' type=kotlin.Unit origin=null
|
||||
message: GET_VAR 'val a: kotlin.Int declared in <root>.main' type=kotlin.Int origin=null
|
||||
message: GET_VAR 'val a: kotlin.Int declared in <root>.runMe' type=kotlin.Int origin=null
|
||||
|
||||
Reference in New Issue
Block a user