mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
10 lines
184 B
Kotlin
Vendored
10 lines
184 B
Kotlin
Vendored
// ADDITIONAL_COMPILER_ARGUMENTS: -Xcoroutines=enable
|
|
|
|
fun f(g: suspend () -> Unit): Any = g
|
|
|
|
suspend fun h() = f { }
|
|
|
|
expect suspend fun k()
|
|
|
|
expect fun l(g: suspend () -> Unit): Any
|