class X { class object { fun String.f(): X = X() fun g(): X = X() } } fun foo(): X { return } // ABSENT: X.f // EXIST: X.g