// TARGET_BACKEND: JVM // IGNORE_BACKEND: JVM // JVM_TARGET: 1.8 // SAM_CONVERSIONS: INDY // CHECK_BYTECODE_LISTING // WITH_SIGNATURES fun interface FunIFace { fun call(arg: T0): R } fun call(value: T1, f: FunIFace): R { return f.call(value) } fun test(x: T2) = call(x) { it } fun box() = test("OK")