gcc/testsuite/gcc.dg/compat/scalar-by-value-2_main.c
raw| 1 | /* Test passing scalars by value. This test includes scalar types that |
| 2 | are not supported by va_arg; since they require casts to pass to a |
| 3 | function with a variable argument list, testing them with variable |
| 4 | arguments is not interesting. */ |
| 5 | |
| 6 | extern void scalar_by_value_2_x (void); |
| 7 | extern void exit (int); |
| 8 | int fails; |
| 9 | |
| 10 | int |
| 11 | main () |
| 12 | { |
| 13 | scalar_by_value_2_x (); |
| 14 | exit (0); |
| 15 | } |