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

13 lines
238 B
Kotlin
Vendored

// !LANGUAGE: -AdditionalBuiltInsMembers
// IGNORE_BACKEND_FIR: JVM_IR
// SKIP_JDK6
// TARGET_BACKEND: JVM
// WITH_RUNTIME
// FULL_JDK
class A(val x: List<String>) : List<String> by x
fun box(): String {
return A(listOf("OK"))[0]
}