repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
bitfield5.C
blob
2cd8e7daa940ebc723acdea4b0facbd88c670aad
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];