Files
kotlin-fork/compiler/testData/ir/irText/expressions/suspendConversionForExtensionFunction.kt
T
Dmitriy Dolovov af247c3344 IR text tests: Unmute tests that have main function
Don't use `main` function in these tests, because `main` function
has specific mangling rules in JVM. Use other function name.

^KT-57755
2023-12-19 14:24:16 +00:00

9 lines
161 B
Kotlin
Vendored

// SKIP_KT_DUMP
// !LANGUAGE: +SuspendConversion
fun runMe() {
val foo: String.(suspend () -> Unit) -> Unit = {}
val f: () -> Unit = {}
"".foo(f)
}