repo.or.cz
/
clang
/
acc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add include needed for MSVC.
[clang/acc.git]
/
test
/
CodeGen
/
alignof.c
blob
d39f4e418eb1283a3906d2c01e0f82b1840e996d
1
// RUN: clang-cc -triple i386-unknown-unknown -O1 -emit-llvm -o %t %s &&
2
// RUN: grep 'ret i32 4' %t
3
4
enum
e0
{
E0
};
5
struct
s0
{
6
enum
e0 a
:
31
;
7
};
8
9
struct
s0 t1_tmp
;
10
int
f0
() {
11
return
__alignof__
(
t1_tmp
);
12
}