test75
auto test75 =
q{--- test75
// Test for loop
i32 sum(i32[] numbers) {
i32 sum = 0;
for (u32 i = 0; i < numbers.length; ++i)
{
sum += numbers[i];
}
return sum;
}
void loops1() {
i32 outer1;
i32 outer2;
for (;;) break;
for (i32 i;;) break;
for (i32 i, i32 j, i32 k = 8;;) break;
for (;outer1 == 0;) break;
for (;;outer1 = 0, outer2 = 10) break;
}
};
tests passing
functionsvariables