summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/pr21964-1.c
blob: b7e1e0dbaea3a7ac810c338700b75157c29b1fb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
void
foo (int n, int m)
{
  if (m == 0)
    exit (0);
  else if (n != 0)
    abort ();
  else
    foo (n++, m - 1);
}
 
int
main (void)
{
  foo (0, 4);
}