This commit was manufactured by cvs2svn to create branch
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 20040130-1.c
blob0edcea44ede0a14f39299886f50a3b0e9c565cd0
1 /* PR target/11475 */
2 /* Origin: <heinrich.brand@fujitsu-siemens.com> */
4 /* This used to fail on SPARC because of a broken pattern. */
6 #pragma pack(2)
8 struct
10 unsigned char G936:7;
11 unsigned short G937:6;
12 unsigned int :4;
13 unsigned short :14;
14 unsigned int G938:8;
15 unsigned int :30;
16 unsigned short :16;
17 unsigned int :18;
18 unsigned short G939:9;
19 } G928b;
21 void TestG928(void)
23 G928b.G936 |= G928b.G939;