blob: b037ebc493c74b0673d106c1ac0ee9ef077d6229 [file]
// IGNORE_BACKEND_FIR: JVM_IR
interface T {
fun foo(): String
}
val o = object : T {
val a = "OK"
val f = {
a
}()
override fun foo() = f
}
fun box() = o.foo()