[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,9 +1,11 @@
// FIR_IDENTICAL
import kotlin.native.concurrent.*
class Z(val x: Int) {
fun bar(s: String) = s + x.toString()
}
@OptIn(ObsoleteWorkersApi::class)
fun foo(x: Int) {
val worker = Worker.start()
worker.execute(TransferMode.SAFE, { "zzz" }, Z(x)::bar)
@@ -1,5 +1,7 @@
// FIR_IDENTICAL
import kotlin.native.concurrent.*
@OptIn(ObsoleteWorkersApi::class)
fun foo(x: Int) {
val worker = Worker.start()
worker.execute(TransferMode.SAFE, { "zzz" }) { s -> s + x.toString() }
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
@file:OptIn(ObsoleteWorkersApi::class)
import kotlin.native.concurrent.*
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
@file:OptIn(ObsoleteWorkersApi::class)
import kotlin.native.concurrent.*