blob: 3cafbf7bc59d9b60a8be2f622a3e1bc863b46897 [file]
// IGNORE_BACKEND_FIR: JVM_IR
data class A(val x: String, val y: String)
fun foo(a: A, block: (A) -> String): String = block(a)
fun box() = foo(A("O", "K")) { (x, y) -> x + y }