Files
kotlin-fork/compiler/testData/codegen/box/defaultArguments/referenceAsArg.kt
T
Alexander Udalov 1071919706 Remove backend tests on old inference
Also remove any mentions of NewInference, and rename some tests.
2021-11-09 20:07:33 +01:00

6 lines
121 B
Kotlin
Vendored

inline fun String.app(f: (String) -> String) = f(this)
fun fff(s: String, n: Int = 42) = s
fun box() = "OK".app(::fff)