gcc/
[official-gcc.git] / gcc / testsuite / gcc.dg / bitfld-18.c
blob2cd8e7daa940ebc723acdea4b0facbd88c670aad
1 /* { dg-do compile } */
2 /* { dg-options "-Wno-packed-bitfield-compat" } */
4 struct t
6 char a:4;
7 char b:8 __attribute__ ((packed));
8 char c:4;
9 };
11 int assrt[sizeof (struct t) == 2 ? 1 : -1];