summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.c-torture/execute/921124-1.c
blob: 51b090b4de10e65a6bb2406ca01e15f1f5b1fdbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
f(x, d1, d2, d3)
   double d1, d2, d3;
{
   return x;
}

g(b,s,x,y,i,j)
     char *b,*s;
     double x,y;
{
  if (x != 1.0 || y != 2.0 || i != 3 || j != 4)
    abort();
}

main()
{
  g("","", 1.0, 2.0, f(3, 0.0, 0.0, 0.0), f(4, 0.0, 0.0, 0.0));
  exit(0);
}
OpenPOWER on IntegriCloud