[K/N] Adjust moved special backend checks tests
^KT-61564
This commit is contained in:
committed by
Space Team
parent
8f12bf6cc8
commit
08bc0a6bd0
+3
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user