gcc/testsuite/gcc.dg/compat/struct-by-value-17_main.c
raw| 1 | /* Test structures passed by value, including to a function with a |
| 2 | variable-length argument lists. All struct members are of type |
| 3 | _Complex double. */ |
| 4 | /* { dg-skip-if "Program too big" { "avr-*-*" } } */ |
| 5 | /* { dg-skip-if "limited code space" { pdp11-*-* } } */ |
| 6 | |
| 7 | extern void struct_by_value_17_x (void); |
| 8 | extern void exit (int); |
| 9 | int fails; |
| 10 | |
| 11 | int |
| 12 | main () |
| 13 | { |
| 14 | struct_by_value_17_x (); |
| 15 | exit (0); |
| 16 | } |