Debian Codegraph @

gcc/testsuite/gcc.c-torture/execute/921124-1.c

raw
1 /* { dg-additional-options "-std=gnu89" } */
2
3 f(x, d1, d2, d3)
4 double d1, d2, d3;
5 {
6 return x;
7 }
8
9 g(b,s,x,y,i,j)
10 char *b,*s;
11 double x,y;
12 {
13 if (x != 1.0 || y != 2.0 || i != 3 || j != 4)
14 abort();
15 }
16
17 main()
18 {
19 g("","", 1.0, 2.0, f(3, 0.0, 0.0, 0.0), f(4, 0.0, 0.0, 0.0));
20 exit(0);
21 }