// Can't assign to type "const varying int32" int foo() { foreach (i = 0 ... 10) { ++i; } }