Files
2024-01-09 14:17:47 +00:00

9 lines
213 B
Kotlin
Vendored

// 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() }
}