11 lines
216 B
Kotlin
Vendored
11 lines
216 B
Kotlin
Vendored
// IS_APPLICABLE: false
|
|
// WITH_RUNTIME
|
|
|
|
data class XY(val x: String, val y: String)
|
|
fun test(xys: Array<XY?>) {
|
|
for (<caret>xy in xys) {
|
|
val x = xy?.x
|
|
val y = xy?.y
|
|
println(x + y)
|
|
}
|
|
} |