open class Base(val callback: () -> String)

class Outer {
    val ok = "OK"

    inner class Inner : Base(
            fun(): String {
                return ok
            }
    )
}

fun box(): String =
        Outer().Inner().callback()
