blob: b1ef435f2db715f1f3d774169a4a5da70fec1353 [file]
// DONT_TARGET_EXACT_BACKEND: JVM
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
}