blob: 6d54725177db5fb50411d5437d739dab9e080579 [file]
// FILE: test.kt
class AWithCompanion {
companion object {
//Comment before
val compPropVal = 1
}
}
fun box() {
AWithCompanion.compPropVal
}
// EXPECTATIONS JVM
// 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 $AWithCompanion$static_init (26)
// test.kt:7 $AWithCompanion$Companion.<init> (26)
// test.kt:8 $AWithCompanion$Companion.<init> (5)
// test.kt:7 $AWithCompanion$static_init (26)
// test.kt:12 $box (19)
// test.kt:13 $box (1)