Files
kotlin-fork/compiler/testData/ir/irText/expressions/kt28456.sig.kt.txt
T
2023-07-14 20:26:45 +00:00

51 lines
1.8 KiB
Kotlin
Vendored

// CHECK:
// Mangled name: A
// Public signature: /A|null[0]
class A {
// CHECK:
// Mangled name: A#<init>(){}
// Public signature: /A.<init>|-5645683436151566731[0]
// Public signature debug description: <init>(){}
constructor() /* primary */
}
// CHECK JVM_IR:
// Mangled name: #get@A(kotlin.IntArray...){}kotlin.Int
// Public signature: /get|1721673901625314100[0]
// Public signature debug description: get@A(kotlin.IntArray...){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #get@A(kotlin.IntArray...){}
// Public signature: /get|-474970059822094928[0]
// Public signature debug description: get@A(kotlin.IntArray...){}
operator fun A.get(vararg xs: Int): Int
// CHECK:
// Mangled name: #set@A(kotlin.Int;kotlin.Int;kotlin.Int){}
// Public signature: /set|-1889324313224580378[0]
// Public signature debug description: set@A(kotlin.Int;kotlin.Int;kotlin.Int){}
operator fun A.set(i: Int, j: Int, v: Int): Unit
// CHECK:
// Mangled name: #testCompoundAssignment(A){}
// Public signature: /testCompoundAssignment|446952120601658700[0]
// Public signature debug description: testCompoundAssignment(A){}
fun testCompoundAssignment(a: A): Unit
// CHECK JVM_IR:
// Mangled name: #testPostfixIncrement(A){}kotlin.Int
// Public signature: /testPostfixIncrement|-2576964328021229709[0]
// Public signature debug description: testPostfixIncrement(A){}kotlin.Int
// CHECK JS_IR NATIVE:
// Mangled name: #testPostfixIncrement(A){}
// Public signature: /testPostfixIncrement|1464365050989928678[0]
// Public signature debug description: testPostfixIncrement(A){}
fun testPostfixIncrement(a: A): Int
// CHECK:
// Mangled name: #testSimpleAssignment(A){}
// Public signature: /testSimpleAssignment|1100548656282165605[0]
// Public signature debug description: testSimpleAssignment(A){}
fun testSimpleAssignment(a: A): Unit