// FIR_IDENTICAL fun select(vararg x: T) = x[0] fun id1(x: T): T = x fun id2(x: T): T = x fun test() { fun foo() {} select(id1(::foo), id2 { }) }