// FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_PARAMETER object Right object Wrong interface A interface B : A fun foo(vararg t: T) = Wrong fun foo(t: A) = Wrong fun foo(t: B) = Right fun test(b: B): Right = foo(b)