Merge K2 box tests to main box tests

This commit is contained in:
Alexander Udalov
2023-03-23 12:28:07 +01:00
committed by Space Team
parent 14c2030595
commit d3be38476a
32 changed files with 584 additions and 402 deletions
@@ -0,0 +1,16 @@
// TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_K1: JVM_IR
open class Base {
open val x: CharSequence = "BASE"
// field = "BASE"
}
class Ok : Base() {
override val x: CharSequence
internal field: String = "OK"
}
fun box(): String {
return Ok().x
}