package t class A { companion object Companion { } } fun A.Companion.foo() {} fun test() { A.foo() } // REF: companion object of (t).A