OSDN Git Service

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