summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/pr43629.c
blob: 10c0196c89bde7d46cf78ffd394ba56783856c26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
int flag;
extern void abort (void);
int main()
{
  int x;
  if (flag)
    x = -1;
  else 
    x &= 0xff;
  if (x & ~0xff)
    abort ();
  return 0;
}