Changed the way jumps are generated to avoid generating jumps to the
[sixpic.git] / tests / control-structures / while.c
blob3a61dfd89a6c359d23ca0dfdaa09112b57403e01
1 /* Test function calls and while loops */
3 int x;
4 int n;
6 void f()
8 while (n > 0)
10 x = x+n;
11 n--;
12 x--;
16 x = 0;
17 n = 5;
19 f();
21 n = x;