class C { companion object { fun bar() {} } companion object Factory {} } // COMPILATION_ERRORS