summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/20010723-1.c
blob: 9d4b29f68980695877570838ec9cb3d8dd269453 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
int
test ()
{
  int biv,giv;
  for (biv = 0, giv = 0; giv != 8; biv++)
      giv = biv*8;
  return giv;
}


main()
{
  if (test () != 8)
    abort ();
  exit (0);
}