Files
kotlin/compiler/testData/codegen/box/closures/underscoreParameters.kt
2019-11-19 11:00:09 +03:00

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 }