blob: 41d5868c00a62e199afd108b4922f165d0f412dd [file] [log] [blame]
import kotlin.native.concurrent.*
class Z(val x: Int) {
fun bar(s: String) = s + x.toString()
}
class Q(x: Int) {
init {
val worker = Worker.start()
worker.execute(TransferMode.SAFE, { "zzz" }, Z(x)::bar)
}
}