[klib] Test signature descriptions in irText tests

KT-59486
This commit is contained in:
Sergej Jaskiewicz
2023-06-22 17:30:00 +02:00
committed by Space Team
parent 6142d75bb4
commit 5e63f7627f
562 changed files with 6867 additions and 9 deletions
@@ -5,16 +5,19 @@ class Host {
// CHECK:
// Mangled name: Host#<init>(){}
// Public signature: /Host.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
constructor() /* primary */
// CHECK:
// Mangled name: Host#plusAssign(kotlin.Int){}
// Public signature: /Host.plusAssign|3258359553712471205[0]
// Public signature debug description: plusAssign(kotlin.Int){}
operator fun plusAssign(x: Int): Unit
// CHECK:
// Mangled name: Host#test1(){}
// Public signature: /Host.test1|4297044443957252634[0]
// Public signature debug description: test1(){}
fun test1(): Unit
}
@@ -22,23 +25,28 @@ class Host {
// CHECK JVM_IR:
// Mangled name: #foo(){}Host
// Public signature: /foo|-9155687047523720482[0]
// Public signature debug description: foo(){}Host
// CHECK JS_IR NATIVE:
// Mangled name: #foo(){}
// Public signature: /foo|-1041209573719867811[0]
// Public signature debug description: foo(){}
fun foo(): Host
// CHECK:
// Mangled name: #test2@Host(){}
// Public signature: /test2|-8326697418267123126[0]
// Public signature debug description: test2@Host(){}
fun Host.test2(): Unit
// CHECK:
// Mangled name: #test3(){}
// Public signature: /test3|-3759735065270951803[0]
// Public signature debug description: test3(){}
fun test3(): Unit
// CHECK:
// Mangled name: #test4(kotlin.Function0<Host>){}
// Public signature: /test4|1361778723589440005[0]
// Public signature debug description: test4(kotlin.Function0<Host>){}
fun test4(a: Function0<Host>): Unit