// KT-44234
// JVM_ABI_K1_K2_DIFF: KT-63984, KT-76258

class App {
    val context: Context = Context()

    fun onCreate() {
        instance = this
    }

    companion object {
        private lateinit var instance: App set
        val context: Context get() = instance.context
    }

}

class Context {
    fun print(): String = "OK"
}

fun box(): String {
    val app = App()
    app.onCreate()
    return App.context.print()
}
