Files
kotlin-fork/compiler/testData/codegen/box/strings/kt3571.kt
T
2019-11-19 11:00:09 +03:00

8 lines
202 B
Kotlin
Vendored

// IGNORE_BACKEND_FIR: JVM_IR
class Thing(delegate: CharSequence) : CharSequence by delegate
fun box(): String {
val l = Thing("hello there").length
return if (l == 11) "OK" else "Fail $l"
}