// 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 // test.kt:7 getCompPropVal // test.kt:7 getCompPropVal // test.kt:12 box // test.kt:13 box // EXPECTATIONS JS_IR // test.kt:12 box // test.kt:7 // test.kt:5 // test.kt:13 box // EXPECTATIONS WASM // test.kt:1 $box // test.kt:12 $box // test.kt:13 $box