fun foo(p: Int) { var v: Int for (i in 1..10) { v = i } }