// FIR_IDENTICAL package a interface Closeable { fun close() {} } class C : Closeable public inline fun T.use(block: (t: T)-> R) : R { return block(this) } fun test() { C().use { it.close() x } }