aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr108793.c
blob: 83973eb05d9088892a3951bb5177dabf1b0557f0 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */

typedef int *p;
extern p a[], b[];
int f () {
  int n = 0;
  for (p* i = &a[0]; i > &b[0]; i++)
    n++;
  return n;
}