[Test] Convert IGNORE: NATIVE directives in box tests from A to C

^KT-59057

Merge-request: KT-MR-10747
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
This commit is contained in:
Vladimir Sukharev
2023-06-22 08:39:20 +00:00
committed by Space Team
parent 2da0e622c0
commit 3d60ed8874
49 changed files with 429 additions and 1430 deletions
@@ -1,28 +0,0 @@
// IGNORE_BACKEND: JVM_IR, JS_IR
// FIR status: not supported in JVM
// IGNORE_BACKEND: JS_IR_ES6
// IGNORE_BACKEND: JVM, JS, NATIVE
// IGNORE_BACKEND: WASM
// WASM_MUTE_REASON: IGNORED_IN_JS
// WITH_STDLIB
// WITH_COROUTINES
import helpers.*
import kotlin.coroutines.*
import kotlin.coroutines.intrinsics.*
suspend fun callLocal(): String {
val local = suspend fun() = "OK"
return local()
}
fun builder(c: suspend () -> Unit) {
c.startCoroutine(EmptyContinuation)
}
fun box(): String {
var res = "FAIL"
builder {
res = callLocal()
}
return res
}