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

int
foo (int x)
{
  if ((int) (x & 0x80ffffff) != (int) (0x8000fffe))
    abort ();

  return 0;
}

int
main ()
{
  return foo (0x8000fffe);
}