// FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_PARAMETER -UNUSED_VARIABLE // NI_EXPECTED_FILE // ISSUE: KT-32383 class Inv class Out class In fun invOf(vararg t: T): Inv = null!! fun outOf(vararg t: T): Out = null!! fun inOf(vararg t: T): In = null!! interface Foo abstract class Bar enum class AFoo : Foo object A : Bar() enum class BFoo : Foo object B : Bar() val invs = invOf(A, B) val outs = outOf(A, B) val ins = inOf(A, B)