1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 %s -emit-llvm -o - 2*f4a2713aSLionel Sambuc // PR 1861 3*f4a2713aSLionel Sambuc 4*f4a2713aSLionel Sambuc typedef unsigned char __u8; 5*f4a2713aSLionel Sambuc typedef unsigned int __u32; 6*f4a2713aSLionel Sambuc typedef unsigned short u16; 7*f4a2713aSLionel Sambuc typedef __u32 __le32; 8*f4a2713aSLionel Sambuc struct bcm43xx_plcp_hdr6 { 9*f4a2713aSLionel Sambuc union { 10*f4a2713aSLionel Sambuc __le32 data; 11*f4a2713aSLionel Sambuc __u8 raw[6]; 12*f4a2713aSLionel Sambuc } 13*f4a2713aSLionel Sambuc __attribute__((__packed__)); 14*f4a2713aSLionel Sambuc } 15*f4a2713aSLionel Sambuc __attribute__((__packed__)); 16*f4a2713aSLionel Sambuc struct bcm43xx_txhdr { 17*f4a2713aSLionel Sambuc union { 18*f4a2713aSLionel Sambuc struct { 19*f4a2713aSLionel Sambuc struct bcm43xx_plcp_hdr6 plcp; 20*f4a2713aSLionel Sambuc }; 21*f4a2713aSLionel Sambuc }; 22*f4a2713aSLionel Sambuc } 23*f4a2713aSLionel Sambuc __attribute__((__packed__)); bcm43xx_generate_rts(struct bcm43xx_txhdr * txhdr)24*f4a2713aSLionel Sambucstatic void bcm43xx_generate_rts(struct bcm43xx_txhdr *txhdr ) { } 25