FILE: genericInvokeInCompanion.fir.kt
    public final class C<T> : R|kotlin/Any| {
        public constructor<T>(): R|C<T>| {
            super<R|kotlin/Any|>()
        }

        public final companion object Companion : R|kotlin/Any| {
            private constructor(): R|C.Companion| {
                super<R|kotlin/Any|>()
            }

            public final operator fun <T> invoke(name: R|kotlin/String|): R|C<T>| {
                ^invoke R|/C.C|<R|T|>()
            }

        }

    }
    public final fun main(): R|kotlin/Unit| {
        Q|C.Companion|.R|/C.Companion.invoke<CS errors: /C.Companion.invoke>#|<<ERROR TYPE REF: Cannot infer argument for type parameter T>>(String())
        Q|C.Companion|<R|kotlin/Int|>.<Unresolved name: invoke>#(String())
        Q|C.Companion|<R|kotlin/Int|, R|kotlin/Int|, R|kotlin/Int|>.<Unresolved name: invoke>#(String())
        Q|C|.R|/C.Companion.invoke<CS errors: /C.Companion.invoke>#|<<ERROR TYPE REF: Cannot infer argument for type parameter T>>(String())
        Q|C|<R|kotlin/Int|>.<Unresolved name: invoke>#(String())
        Q|C|<R|kotlin/Int|, R|kotlin/Int|, R|kotlin/Int|>.<Unresolved name: invoke>#(String())
        Q|C.Companion|.R|/C.Companion.invoke|<R|kotlin/Int|>(String())
        Q|C.Companion|<R|kotlin/Int|>.<Unresolved name: invoke>#<R|kotlin/Int|>(String())
        Q|C.Companion|<R|kotlin/Int|, R|kotlin/Int|, R|kotlin/Int|>.<Unresolved name: invoke>#<R|kotlin/Int|>(String())
        Q|C|.R|/C.Companion.invoke|<R|kotlin/Int|>(String())
        Q|C|<R|kotlin/Int|>.<Unresolved name: invoke>#<R|kotlin/Int|>(String())
        Q|C|<R|kotlin/Int|, R|kotlin/Int|, R|kotlin/Int|>.<Unresolved name: invoke>#<R|kotlin/Int|>(String())
        Q|C|.R|/C.Companion.invoke<CS errors: /C.Companion.invoke>#|<<ERROR TYPE REF: Cannot infer argument for type parameter T>>(String())
        Q|C|.R|/C.Companion.invoke|<R|kotlin/Int|>(String())
        Q|C|.R|/C.Companion.invoke<Inapplicable(INAPPLICABLE): /C.Companion.invoke>#|<R|kotlin/Int|, R|kotlin/Int|, R|kotlin/Int|>(String())
        Q|C.Companion|.R|/C.Companion.invoke<Inapplicable(INAPPLICABLE): /C.Companion.invoke>#|<R|kotlin/Int|, R|kotlin/Int|, R|kotlin/Int|>(String())
        Q|C.Companion|<R|kotlin/Int|>.<Unresolved name: invoke>#<R|kotlin/Int|, R|kotlin/Int|, R|kotlin/Int|>(String())
        Q|C.Companion|<R|kotlin/Int|, R|kotlin/Int|, R|kotlin/Int|>.<Unresolved name: invoke>#<R|kotlin/Int|, R|kotlin/Int|>(String())
        Q|C|.R|/C.Companion.invoke<Inapplicable(INAPPLICABLE): /C.Companion.invoke>#|<R|kotlin/Int|, R|kotlin/Int|, R|kotlin/Int|>(String())
        Q|C|<R|kotlin/Int|>.<Unresolved name: invoke>#<R|kotlin/Int|, R|kotlin/Int|, R|kotlin/Int|>(String())
        Q|C|<R|kotlin/Int|, R|kotlin/Int|, R|kotlin/Int|>.<Unresolved name: invoke>#<R|kotlin/Int|, R|kotlin/Int|>(String())
    }
