// SIBLING: class MyClass { fun test() { __dummyTestFun__() } public class P { companion object { val a = 1 fun foo() = 1 } } } private fun __dummyTestFun__() { MyClass.P.foo() MyClass.P.a }