// TARGET_BACKEND: JVM // JVM_TARGET: 1.8 // SAM_CONVERSIONS: CLASS fun interface GenericToAny { fun invoke(Inner: T): Any } fun foo2(t: T, g: GenericToAny): Any = g.invoke(t) fun box(): String { foo2('.') { } return "OK" }