// RUN_PIPELINE_TILL: BACKEND
// FIR_IDENTICAL
// FILE: k.kt

interface K {
    fun <T> foo(t: T)
}

// FILE: J.java

interface J extends K {
    <T> void foo(T t);
}

/* GENERATED_FIR_TAGS: functionDeclaration, interfaceDeclaration, nullableType, typeParameter */
