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

18 lines
184 B
C

int
test (arg)
int arg;
{
if (arg > 0 || arg == 0)
return 0;
return -1;
}
main ()
{
if (test (0) != 0)
abort ();
if (test (-1) != -1)
abort ();
exit (0);
}