blob: 5d601d9069d7f7afbea4cde0f95bc53c26c6a394 [file]
// FILE: test.kt
class AWithCompanion {
companion object {
//Comment before
val compPropVal = 1
}
}
fun box() {
AWithCompanion.compPropVal
}
// EXPECTATIONS JVM_IR
// test.kt:12 box
// test.kt:7 <clinit>
// test.kt:7 getCompPropVal
// test.kt:7 getCompPropVal
// test.kt:12 box
// test.kt:13 box
// EXPECTATIONS NATIVE
// test.kt:12 box
// test.kt:5 <get-$companion>
// test.kt:1 <get-$companion>
// test.kt:8 <get-$companion>
// test.kt:12 box
// test.kt:7 <get-compPropVal>
// test.kt:13 box
// EXPECTATIONS JS_IR
// test.kt:12 box
// test.kt:7 <init>
// test.kt:5 <init>
// test.kt:13 box
// EXPECTATIONS WASM
// test.kt:12 $box (19)
// test.kt:7 $Companion.<init> (26)
// test.kt:8 $Companion.<init> (5)
// test.kt:12 $box (19)
// test.kt:13 $box (1)