Debian Codegraph @

gcc/testsuite/gcc.dg/compat/scalar-by-value-5_main.c

raw
1 /* Test that function args can be passed in various positions to both fixed
2 and variable arg functions. */
3 /* { dg-options "-O" } */
4
5 extern void exit (int);
6 extern void longlong_i_doit (void);
7 extern void longlong_d_doit (void);
8 extern void complexint_i_doit (void);
9 extern void complexint_d_doit (void);
10 extern void complexdouble_i_doit (void);
11 extern void complexdouble_d_doit (void);
12 extern void complexlonglong_i_doit (void);
13 extern void complexlonglong_d_doit (void);
14
15 int main (void)
16 {
17 longlong_i_doit ();
18 longlong_d_doit ();
19 #ifndef SKIP_COMPLEX
20 #ifndef SKIP_COMPLEX_INT
21 complexint_i_doit ();
22 complexint_d_doit ();
23 #endif
24 complexdouble_i_doit ();
25 complexdouble_d_doit ();
26 #ifndef SKIP_COMPLEX_INT
27 complexlonglong_i_doit ();
28 complexlonglong_d_doit ();
29 #endif
30 #endif
31 exit (0);
32 }