Files
kotlin-fork/compiler/testData/codegen/box/jdk/streamBackwardCompatibility.kt
T
Mikhael Bogdanov a4206a543a Skip test on JDK 6
2018-10-22 16:32:55 +02:00

11 lines
191 B
Kotlin
Vendored

// SKIP_JDK6
// 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]
}