summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/pr69320-3.c
blob: 213c93f4d08c73668a54c73585e3374a74328399 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdlib.h>

static int a[40] = {7, 5, 3, 3, 0, 0, 3};
short b;
int c = 5;
int main() {
  b = 0;
  for (; b <= 3; b++)
    if (a[b + 6] ^ (0 || c))
      ;
    else
      break;
  if (b != 4)
    abort ();
  exit (0);
}