Files
kotlin-fork/compiler/testData/codegen/java8/box/streamBackwardCompatibility.kt
T
2018-10-22 16:32:51 +02:00

10 lines
178 B
Kotlin
Vendored

// TARGET_BACKEND: JVM
// LANGUAGE_VERSION: 1.0
// WITH_RUNTIME
// FULL_JDK
class A(val x: List<String>) : List<String> by x
fun box(): String {
return A(listOf("OK"))[0]
}