Fix PR4948 (and a leak): by not destroying the DwarfException
[llvm/avr.git] / test / FrontendC / 2008-01-28-UnionSize.c
blobea2c863b18480d74da6dd73d540760b6ffa75f10
1 // RUN: %llvmgcc %s -S -o -
2 // PR 1861
4 typedef unsigned char __u8;
5 typedef unsigned int __u32;
6 typedef unsigned short u16;
7 typedef __u32 __le32;
8 struct bcm43xx_plcp_hdr6 {
9 union {
10 __le32 data;
11 __u8 raw[6];
13 __attribute__((__packed__));
15 __attribute__((__packed__));
16 struct bcm43xx_txhdr {
17 union {
18 struct {
19 struct bcm43xx_plcp_hdr6 plcp;
23 __attribute__((__packed__));
24 static void bcm43xx_generate_rts(struct bcm43xx_txhdr *txhdr ) { }