repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix PR4948 (and a leak): by not destroying the DwarfException
[llvm/avr.git]
/
test
/
FrontendC
/
2009-06-18-StaticInitTailPadPack.c
blob
17f35c04a9ecf36d76362cfae2882c61071a597d
1
// RUN: %llvmgcc %s -S -o -
2
// rdar://6983634
3
4
typedef
struct
A
*
Foo
;
5
#pragma pack(push, 2)
6
struct
Bar
{
7
Foo f1
;
8
unsigned short
f2
;
9
float
f3
;
10
};
11
struct
Baz
{
12
struct
Bar f1
;
13
struct
Bar f2
;
14
};
15
struct
Qux
{
16
unsigned long
f1
;
17
struct
Baz f2
;
18
};
19
extern
const struct
Qux Bork
;
20
const struct
Qux Bork
= {
21
0
,
22
{
23
{
0
},
24
{
0
}
25
}
26
};