package foo

object Host {
    var result: String = ""
        get
        private set

    operator fun plusAssign(s: String) {
        result += s
    }
}

fun bar() = Host

fun box(): String {
    bar() += "O"
    bar() += "K"
    return Host.result
}