| 1 |
/* Test structures passed by value, including to a function with a |
| 2 |
variable-length argument list. Struct members are char, int, double, |
| 3 |
and other structs containing these types. This test was written in |
| 4 |
response to a layout change for such structs for powerpc64-linux, |
| 5 |
but this test only checks similar structs that are not affected by |
| 6 |
that break in compatibility. */ |
| 7 |
|
| 8 |
extern void struct_by_value_19_x (void); |
| 9 |
extern void exit (int); |
| 10 |
int fails; |
| 11 |
|
| 12 |
int |
| 13 |
main () |
| 14 |
{ |
| 15 |
struct_by_value_19_x (); |
| 16 |
exit (0); |
| 17 |
} |