// IGNORE_BACKEND: WASM // FILE: test.kt class A { companion object { val prop0 = 1 val prop1 = 2 fun foo(): Int { return prop0 + prop1 } } } fun box() { A.prop0 A.prop1 A.foo() } // EXPECTATIONS JVM JVM_IR // test.kt:15 box // test.kt:6 // test.kt:7 // test.kt:6 getProp0 // test.kt:6 getProp0 // test.kt:15 box // test.kt:16 box // test.kt:7 getProp1 // test.kt:7 getProp1 // test.kt:16 box // test.kt:17 box // test.kt:9 foo // test.kt:6 getProp0 // test.kt:6 getProp0 // test.kt:9 foo // test.kt:7 getProp1 // test.kt:7 getProp1 // test.kt:9 foo // test.kt:17 box // test.kt:18 box // EXPECTATIONS JS_IR // test.kt:15 box // test.kt:6 // test.kt:7 // test.kt:5 // test.kt:16 box // test.kt:17 box // test.kt:17 box // test.kt:9 foo // test.kt:18 box