8sa1-gcc/gcc/testsuite/gcc.c-torture/execute/960218-1.c
Jeff Law 921e5a0eb4 Initial revision
From-SVN: r14840
1997-08-19 01:34:40 -06:00

23 lines
163 B
C

int glob;
g (x)
{
glob = x;
return 0;
}
f (x)
{
int a = ~x;
while (a)
a = g (a);
}
main ()
{
f (3);
if (glob != -4)
abort ();
exit (0);
}