8sa1-gcc/gcc/testsuite/gcc.c-torture/execute/930622-1.c

23 lines
195 B
C
Raw Normal View History

1997-08-19 03:34:40 -04:00
int a = 1, b;
g () { return 0; }
h (x) {}
f ()
{
if (g () == -1)
return 0;
a = g ();
if (b >= 1)
h (a);
return 0;
}
main ()
{
f ();
if (a != 0)
abort ();
exit (0);
}