summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/unroll-1.c
blob: 8812955652f098a445cde1c5c9ef50e7667295d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
inline int
f (int x)
{
  return (x + 1);
}
 
int
main (void)
{
  int a = 0 ;
 
  while ( (f(f(f(f(f(f(f(f(f(f(1))))))))))) + a < 12 )
    {
      a++;
      exit (0);
    }
  if (a != 1)
    abort();
}