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:
Dmitriy Dolovov
2023-12-18 16:20:48 +01:00
committed by Space Team
parent 1759b9e3c4
commit af247c3344
32 changed files with 325 additions and 372 deletions
@@ -1,5 +1,3 @@
// MUTE_SIGNATURE_COMPARISON_K2: JVM_IR
// ^ KT-57755: Fix computing a mangled name for the `main` function
package foo
class A {
@@ -16,7 +14,7 @@ fun <T> id(t: T): T {
return t
}
fun main() {
fun runMe() {
val a = A()
id(a).prop = 10