[K/N] Adjust moved special backend checks tests

^KT-61564
This commit is contained in:
Vladimir Sukharev
2023-11-10 13:07:12 +01:00
committed by Space Team
parent 8f12bf6cc8
commit 08bc0a6bd0
74 changed files with 2155 additions and 19 deletions
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
import kotlinx.cinterop.*
import kotlin.coroutines.*
@@ -17,8 +18,10 @@ fun startCoroutine(block: suspend () -> Unit) {
block.startCoroutine(EmptyContinuation)
}
@OptIn(kotlinx.cinterop.BetaInteropApi::class)
inline fun <T> myAutoreleasepool(block: () -> T) = autoreleasepool(block)
@OptIn(kotlinx.cinterop.BetaInteropApi::class)
fun main() {
autoreleasepool {
startCoroutine {