gcc/testsuite/gcc.dg/compat/struct-return-20_main.c
raw| 1 | /* Test function return values. Tested structs end with double. This |
| 2 | was written in response to a layout change for such structs for |
| 3 | powerpc64-linux that breaks compatibility between 3.3 and 3.4. */ |
| 4 | |
| 5 | extern void struct_return_20_x (void); |
| 6 | extern void exit (int); |
| 7 | int fails; |
| 8 | |
| 9 | int |
| 10 | main () |
| 11 | { |
| 12 | struct_return_20_x (); |
| 13 | exit (0); |
| 14 | } |