blob: d8fac86057cfc18ac1c08e6abb80278f29c5c31b [file]
// TARGET_BACKEND: JVM_IR
object K : Code("K")
open class Code(val x: String) {
override fun toString() = "$x"
}
class O {
companion object: Code("O")
}
fun box(): String {
return "$O" + "$K" // must not be evaluated during compile time
}