mirror of
https://github.com/nArnoSNES/tcc-65816.git
synced 2024-06-12 13:29:29 +00:00
21 lines
206 B
C
21 lines
206 B
C
static int a[199];
|
|
|
|
static void
|
|
foo ()
|
|
{
|
|
int i;
|
|
for (i = 198; i >= 0; i--)
|
|
a[i] = i;
|
|
}
|
|
|
|
int
|
|
main ()
|
|
{
|
|
int i;
|
|
foo ();
|
|
for (i = 0; i < 199; i++)
|
|
if (a[i] != i)
|
|
abort ();
|
|
return 0;
|
|
}
|