// RUN_PIPELINE_TILL: FRONTEND
package test

fun use() {
    Default.create()

    Explicit.<!INVISIBLE_MEMBER!>create<!>()
}

private class Default {
    companion object {
        fun create() = Default()
    }
}

private class Explicit {
    private companion object {
        fun create() = Explicit()
    }
}

/* GENERATED_FIR_TAGS: classDeclaration, companionObject, functionDeclaration, objectDeclaration */
