summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/pr22348.c
blob: 9192d5130c624d4aecfec8bd17b627738fd8e6fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
void abort (void);
void f(int i)
{
  if (i>4 + 3 * 16)
    abort();
}

int main()
{
  unsigned int buflen, i;
  buflen = 4 + 3 * 16;
  for (i = 4; i < buflen; i+= 3)
    f(i);
  return 0;
}