mirror of
https://github.com/nArnoSNES/tcc-65816.git
synced 2024-06-11 22:29:28 +00:00
32 lines
386 B
C
32 lines
386 B
C
/* Reduced from PR optimization/5076, PR optimization/2847 */
|
|
|
|
static int count = 0;
|
|
|
|
static void
|
|
inc (void)
|
|
{
|
|
count++;
|
|
}
|
|
|
|
int
|
|
main (void)
|
|
{
|
|
int iNbr = 1;
|
|
int test = 0;
|
|
while (test == 0)
|
|
{
|
|
inc ();
|
|
if (iNbr == 0)
|
|
break;
|
|
else
|
|
{
|
|
inc ();
|
|
iNbr--;
|
|
}
|
|
test = 1;
|
|
}
|
|
if (count != 2)
|
|
abort ();
|
|
return 0;
|
|
}
|