// FIR_IDENTICAL // !DIAGNOSTICS: -UNUSED_PARAMETER abstract class Bar class Foo : Bar(), Comparable> { override fun compareTo(other: Foo<*>): Int = TODO() } infix fun , S : T?> Bar.test(t: T) { } infix fun , S : T?> Bar.test(other: Bar) {} fun checkFunctions(exp1: Foo, exp2: Foo) { exp1.test(exp2) }