summaryrefslogtreecommitdiff
path: root/support/regression/tests/gcc-torture-execute-20021118-3.c
blob: 6114b64a00b42e541b797007123cc8335e30df02 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
   20021118-3.c from the execute part of the gcc torture suite.
 */

#include <testfwk.h>

#ifdef __SDCC
#pragma std_c99
#endif

int
foo (int x)
{
  if (x == -2 || -x - 100 >= 0)
    ASSERT (0);
  return 0;
}
           
void
testTortureExecute (void)
{
  foo (-3);
  foo (-99);
  return;
}