summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr41728.c
blob: df379d930108de6501e50e926ddc4e7aa0158d93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
int a[8];
int s244(void)
{
  int lrc, j;
  lrc = 0;
  for (j=0; j<7; j++)
    if(a[j] != a[j+1])
      lrc = 1;
  if (lrc != 0)
    return 0;
  return 1;
}