summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/unsorted/loop386.c
blob: 429a320abbdaa8a2fbb529061def262a041dbd40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
foo (a)
{
  do
    {
      puts ("a");
      a -= 1;
    }
  while (a != 0);
}

main ()
{
  int p[100];
  printf ("%d\n", foo (3));
}