Corrected multi-byte comparisons, which now work.
[sixpic.git] / tests / test2.c
blobbeeed86b0e878726aab5f9054cde9908c49e8e6c
1 /* File: test2.c */
3 /* Test function calls and while loops */
5 int x;
6 int n;
8 void f()
10 while (n) // TODO doesn't work with > 0
12 foo:
13 x = x+n;
14 n--;
15 bar:
16 x--;
20 x = 0;
21 n = 5;
23 f();
25 n = x;