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
remove the "old" at&t style asmprinter. Unfortunately, most of the
[llvm/avr.git]
/
test
/
FrontendC
/
2003-09-30-StructLayout.c
blob
177d1f49b2fb9f53666cd430b52d83d2289c0857
1
// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
2
3
enum
En
{
4
ENUM_VAL
5
};
6
7
struct
St
{
8
unsigned char
A
;
9
enum
En B
;
10
unsigned char
C
;
11
enum
En D
;
12
float
E
;
13
};
14
15
16
void
func
(
struct
St
*
A
) {
17
A
->
D
=
ENUM_VAL
;
18
}