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
pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
[llvm/avr.git]
/
test
/
FrontendC
/
2007-05-15-PaddingElement.c
blob
a218b3594d721663c107ecdf0efd776309ff1f6b
1
// PR 1419
2
3
// RUN: %llvmgcc -xc -O2 %s -c -o - | llvm-dis | grep "ret i32 1"
4
struct
A
{
5
short
x
;
6
long long
:
0
;
7
};
8
9
struct
B
{
10
char
a
;
11
char
b
;
12
unsigned char
i
;
13
};
14
15
union
X
{
struct
A a
;
struct
B b
; };
16
17
int
check
(
void
) {
18
union
X x
,
y
;
19
20
y
.
b
.
i
=
0xff
;
21
x
=
y
;
22
return
(
x
.
b
.
i
==
0xff
);
23
}