mirror of
https://github.com/nArnoSNES/tcc-65816.git
synced 2024-06-12 13:29:29 +00:00
29 lines
362 B
C
29 lines
362 B
C
int loop_1 = 100;
|
|
int loop_2 = 7;
|
|
int flag = 0;
|
|
|
|
int test (void)
|
|
{
|
|
int i;
|
|
int counter = 0;
|
|
|
|
while (loop_1 > counter) {
|
|
if (flag & 1) {
|
|
for (i = 0; i < loop_2; i++) {
|
|
counter++;
|
|
}
|
|
}
|
|
flag++;
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
int main()
|
|
{
|
|
if (test () != 1)
|
|
abort ();
|
|
|
|
exit (0);
|
|
}
|
|
|