// IGNORE_BACKEND_FIR: JVM_IR class A(val t: T) { fun foo(): T = t } fun box() = (A::foo)(A("OK"))