aboutsummaryrefslogtreecommitdiff
path: root/gdb/testfun.c
blob: eeeebd7d24b30b13722a93f38f8878883f6035fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
main ()
{
  register double a = 1.5;
  foo (a);
}

foo (x)
{
  printf ("%f\n", x);
}

do_add (x, y)
{
  return x + y;
}

double
do_float_add (x, y, z)
     register double x, y, z;
{
  return x + y + z;
}