projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
new testcase for PR1253
[oota-llvm.git]
/
test
/
CFrontend
/
2003-09-30-StructLayout.c
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
}