1272343Sngie/* c99 for loops */
2272343Sngieextern void foo(int);
3272343Sngie
4272343Sngieint
5272343Sngiemain(void)
6272343Sngie{
7272343Sngie	// Test the basic functionality
8272343Sngie	for (int i = 0; i < 10; i++)
9272343Sngie		foo(i);
10272343Sngie
11272343Sngie	// Test that the scope of the iterator is correct
12272343Sngie	for (int i = 0; i < 10; i++)
13272343Sngie		continue;
14272343Sngie	return 0;
15272343Sngie}
16