Files
kotlin-fork/compiler/testData/codegen/box/jdk/streamBackwardCompatibility.kt
T
2020-10-01 17:49:02 +03:00

12 lines
208 B
Kotlin
Vendored

// !LANGUAGE: -AdditionalBuiltInsMembers
// 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]
}