// -- Module: <m1> --
package

package p {

    public interface B</*0*/ T> {
        public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
        public abstract fun </*0*/ R> foo(/*0*/ a: T, /*1*/ b: R): kotlin.Unit
        public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
        public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
    }
}


// -- Module: <m2> --
package

package p {

    public interface B</*0*/ T> {
        // -- Module: <m1> --
    }

    public interface C : p.B<kotlin.Any?> {
        public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
        public abstract override /*1*/ fun </*0*/ R> foo(/*0*/ a: kotlin.Any?, /*1*/ b: R): kotlin.Unit
        public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
        public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
    }
}


// -- Module: <m3> --
package

package p {

    public interface B {
        public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
        public abstract fun </*0*/ T, /*1*/ R> foo(/*0*/ a: T, /*1*/ b: R): kotlin.Unit
        public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
        public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
    }
}


// -- Module: <m4> --
package

internal fun test(/*0*/ b: p.B?, /*1*/ c: p.C): kotlin.Unit

package p {

    public interface B {
        // -- Module: <m3> --
    }

    public interface C : p.B<kotlin.Any?> {
        // -- Module: <m2> --
    }
}
