// TARGET_BACKEND: JVM
// TARGET_BACKEND: JVM_IR

fun box(): String {
    return object {
        fun foo(): String {
            val f = {}
            object : Runnable {
                public override fun run() {
                    f()
                }
            }
            return "OK"
        }
    }.foo()
}
