1 // Test for bitfield alignment in structs on IA-32
2 // { dg-do run { target i?86-*-* x86_64-*-* } }
3 // { dg-options "-O2" }
4 // { dg-options "-mno-align-double -mno-ms-bitfields" { target *-*-interix* } }
6 extern void abort (void);
7 extern void exit (int);
18 if (__alignof__(struct X
) != 1)
20 if (__alignof__(struct Y
) != 4)