blob: 117948147b3e920c27a474596e43c766a514b208 [file] [log] [blame]
import kotlin.native.internal.*
class C(val x: Int) {
fun bar(y: Int) = println(x + y)
}
@OptIn(kotlin.ExperimentalStdlibApi::class)
fun foo(x: Int) {
createCleaner(42, C(x)::bar)
}