2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / ext / bitfield3.C
blob3b30cc9b0021eebee2fff56204ebcf22b7fc9d36
1 /* { dg-do compile } */
2 /* { dg-options "-Wno-packed-bitfield-compat" } */
4 struct t
6   char a:4;
7   char b:8;
8   char c:4;
9 } __attribute__ ((packed));
11 int assrt[sizeof (struct t) == 2 ? 1 : -1];