gcc/testsuite/gcc.dg/compat/struct-return-3_main.c
raw| 1 | /* Test function return values. For this test, all struct members are |
| 2 | scalar integral types and the structs are "small": 1, 2, 4, 8, and 12 |
| 3 | bytes for LP64. */ |
| 4 | |
| 5 | extern void struct_return_3_x (void); |
| 6 | extern void exit (int); |
| 7 | int fails; |
| 8 | |
| 9 | int |
| 10 | main () |
| 11 | { |
| 12 | struct_return_3_x (); |
| 13 | exit (0); |
| 14 | } |