class T object TopLevel { object Nested { fun T.foo() {} } } fun T.usage() { f } // INVOCATION_COUNT: 2 // ELEMENT: foo