gcc/testsuite/gcc.dg/compat/struct-align-2_main.c
raw| 1 | /* Test compatibility of structure layout and alignment for a struct |
| 2 | containing an int and a long long, with various combinations of |
| 3 | packed and aligned attributes. The struct is from the Linux kernel. */ |
| 4 | |
| 5 | extern void struct_align_2_x (void); |
| 6 | extern void exit (int); |
| 7 | int fails; |
| 8 | |
| 9 | int |
| 10 | main () |
| 11 | { |
| 12 | struct_align_2_x (); |
| 13 | exit (0); |
| 14 | } |