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
PPC::B and PPC::BCC's target operand may be an immediate.
[llvm/msp430.git]
/
test
/
FrontendC
/
2003-09-30-StructLayout.c
blob
3a4016606ec7d0d254567ed15d15e56894109118
1
// RUN: %llvmgcc -S %s -o - | llvm-as -f -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
}