blob: ea2c863b18480d74da6dd73d540760b6ffa75f10 [file] [log] [blame]
Devang Pateld92ed902008-01-29 01:10:04 +00001// RUN: %llvmgcc %s -S -o -
2// PR 1861
3
4typedef unsigned char __u8;
5typedef unsigned int __u32;
6typedef unsigned short u16;
7typedef __u32 __le32;
8struct bcm43xx_plcp_hdr6 {
9 union {
10 __le32 data;
11 __u8 raw[6];
12 }
13 __attribute__((__packed__));
14}
15 __attribute__((__packed__));
16struct bcm43xx_txhdr {
17 union {
18 struct {
19 struct bcm43xx_plcp_hdr6 plcp;
20 };
21 };
22}
23 __attribute__((__packed__));
24static void bcm43xx_generate_rts(struct bcm43xx_txhdr *txhdr ) { }