mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-11 15:53:46 +00:00
5 lines
153 B
Kotlin
Vendored
5 lines
153 B
Kotlin
Vendored
// IGNORE_BACKEND_FIR: JVM_IR
|
|
fun foo(block: (String, String, String) -> String): String = block("O", "fail", "K")
|
|
|
|
fun box() = foo { x, _, y -> x + y }
|