Files
Ilmir Usmanov d7fd2471b8 JVM IR: Remove remains of 1.2 coroutines from tests
Remove CoroutineAdapter and LANGUAGE: +ReleaseContinuation,
which are meaninless now.
Update the tests accordingly.
2023-05-31 05:56:18 +00:00

11 lines
226 B
Kotlin
Vendored

inline fun inlineMe(crossinline c: suspend () -> Int): suspend () -> Int {
val i: suspend () -> Int = { c() + c() }
return i
}
// invokeSuspend$$forInline : valueOf
// invokeSuspend : boxInt
// 1 valueOf
// 1 boxInt