Add tests for KT-52745

This commit is contained in:
Mikhail Glukhikh
2022-06-14 18:41:15 +02:00
committed by Space
parent 00d7a755a9
commit 966e2442c6
12 changed files with 521 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
// TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_FIR: JVM_IR
// WITH_STDLIB
sealed class A : CharSequence {
data class B(val c: CharSequence) : A(), CharSequence by c
}
fun box(): String {
return A.B("OK").c.toString()
}