summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr66185.c
blob: 5a57ac1d76c1f340602d789559374b8a6e81d901 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */

unsigned int a;
int b[5], c;

int
main ()
{
  for (c = 0; c < 4; c++)
    b[c] = b[c+1] > ((b[0] > 0) > a);

  return 0;
}