repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Improve compatibility with older versions of Windows.
[llvm/msp430.git]
/
test
/
FrontendC
/
2003-10-09-UnionInitializerBug.c
blob
90dbd37f0d61830a34681695c26af8fc607a64b7
1
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
2
3
struct
Foo
{
4
unsigned
a
;
5
unsigned
b
;
6
unsigned
c
;
7
};
8
9
struct
Bar
{
10
union
{
11
void
**
a
;
12
struct
Foo b
;
13
}
u
;
14
};
15
16
struct
Bar test
= {
0
};
17