summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/20000731-1.c
blob: 787c29a3b3b6c37dc2ae6becc49b9b764279b2f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
double
foo (void)
{
  return 0.0;
}

void
do_sibcall (void)
{
  (void) foo ();
}

int
main (void)
{
   double x;

   for (x = 0; x < 20; x++)
      do_sibcall ();
   if (!(x >= 10))
      abort ();
   exit (0);
}