1 // Test for bitfield alignment in structs on IA-32
3 // { dg-options "-O2" }
4 // { dg-additional-options "-mno-align-double -mno-ms-bitfields" { target *-*-interix* } }
5 // { dg-additional-options "-mno-ms-bitfields" { target *-*-mingw* } }
7 extern void abort (void);
8 extern void exit (int);
19 if (__alignof__(struct X
) != 1)
21 if (__alignof__(struct Y
) != 4)