1// RUN: %clang_cc1 %s -emit-llvm -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 ) { }
25