1 /* c99 for loops */
2 extern void foo(int);
3
4 int
5 main(void)
6 {
7 // Test the basic functionality
8 for (int i = 0; i < 10; i++)
9 foo(i);
10
11 // Test that the scope of the iterator is correct
12 for (int i = 0; i < 10; i++)
13 continue;
14 return 0;
15 }
16