summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr52808.c
blob: 8a33d08d860877f3612bf93a5173244b610e35c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-options "-O -ftracer" } */

int **fn1 () __attribute__ ((__const__));
int main ()
{
  int i;
  i = 0;
  for (;; i++)
    if (*fn1 ()[i] && !'a' <= 0 && i <= 'z' || *fn1 ()[0] && 'a' <= 'z')
      return 0;
}