blob: b1e8688c6de1a6eb08eabd421ead0877124e9759 [file] [log] [blame]
// IS_APPLICABLE: false
// WITH_RUNTIME
data class XY(var x: Int, var y: Int)
fun test(xys: Array<XY>) {
for (<caret>xy in xys) {
xy.x++
xy.y--
}
}