Fixed wrong test

This commit is contained in:
Valentin Kipyatkov
2016-09-22 13:52:18 +03:00
parent 6baf633a8d
commit b0ed6adce3
2 changed files with 12 additions and 1 deletions
@@ -1,4 +1,4 @@
// IS_APPLICABLE: false
// IS_APPLICABLE: true
// WITH_RUNTIME
data class XY(val x: Int, val y: Int)
@@ -0,0 +1,11 @@
// IS_APPLICABLE: true
// WITH_RUNTIME
data class XY(val x: Int, val y: Int)
fun test(xys: Array<XY>) {
for ((x, y1) in xys) {
println(x)
val y = y1 + x
println(y)
}
}