aboutsummaryrefslogtreecommitdiff
blob: d2d1884b9cd1cb9ab8f6ddf15b3b4bbe9f142e1c (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
25
26
27
28
29
30
31
32
33
34
35
/* Tests regarding examination of prologues.  */

int
inner (z)
     int z;
{
  return 2 * z;
}

int
middle (x)
     int x;
{
  if (x == 0)
    return inner (5);
  else
    return inner (6);
}

int
top (y)
     int y;
{
  return middle (y + 1);
}

int
main (argc, argv)
{
#ifdef usestubs
  set_debug_traps();
  breakpoint();
#endif
  return top (-1) + top (1);
}