aboutsummaryrefslogtreecommitdiff
path: root/SingleSource/Regression/C/gcc-c-torture/execute/20000205-1.c
blob: b605b84b6b116f21c8001195e99eab90cd11d5f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
static int f (int a)
{
  if (a == 0)
    return 0;
  do
    if (a & 128)
      return 1;
  while (f (0));
  return 0;
}

int main(void)
{
  if (f (~128))
    abort ();
  exit (0);
}