Files
kotlin-fork/compiler/testData/ir/irText/expressions/funInterface/basicFunInterfaceConversion.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

10 lines
122 B
Kotlin
Vendored

// FIR_IDENTICAL
fun interface Foo {
fun invoke(): String
}
fun foo(f: Foo) = f.invoke()
fun test() = foo { "OK" }