summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/20021118-3.c
blob: 8ec01caa5dda2ee21ab47e62c5aa1fddbad40209 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
extern void abort (void);
extern void exit (int);

int
foo (int x)
{
  if (x == -2 || -x - 100 >= 0)
    abort ();
  return 0;
}
           
int
main ()
{
  foo (-3);
  foo (-99);
  exit (0);
}