summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/pr69320-1.c
blob: 0aba2fc4b19d7b659f4cc7ea56245d27fc588c83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <stdlib.h>
int a, b, d, f;
char c;
static int *e = &d;
int main() {
  int g = -1L;
  *e = g;
  c = 4;
  for (; c >= 14; c++)
    *e = 1;
  f = a == 0;
  *e ^= f;
  int h = ~d;
  if (d)
    b = h;
  if (h)
    exit (0);
  abort ();
}