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
Shrink Thumb2 movcc instructions.
[llvm/avr.git]
/
test
/
FrontendC
/
2007-04-05-PackedStruct.c
blob
0d524c489ea859edd8253cc4ccdd6ef178f9e63b
1
// RUN: %llvmgcc %s -S -o -
2
3
#pragma pack(push, 2)
4
5
enum
{
6
tA
=
0
,
7
tB
=
1
8
};
9
10
struct
MyStruct
{
11
unsigned long
A
;
12
char
C
;
13
void
*
B
;
14
};
15
16
void
bar
(){
17
struct
MyStruct MS
= {
tB
,
0
};
18
}