Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
0486d746019f8310589b1f0d92edcc4bb3916b33
/
.
/
test
/
CodeGen
/
alignof.c
blob: 71c275018ed56c921c375b2759d31e6eef4d24c9 [
file
] [
log
] [
blame
]
// RUN: clang-cc -triple i386-unknown-unknown -O1 -emit-llvm -o %t %s
// RUN: grep 'ret i32 4' %t
enum
e0
{
E0
};
struct
s0
{
enum
e0 a
:
31
;
};
struct
s0 t1_tmp
;
int
f0
()
{
return
__alignof__
(
t1_tmp
);
}