Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
52ba870eba17e634339622dbf103434ca31935eb
/
.
/
test
/
CodeGen
/
alignof.c
blob: d39f4e418eb1283a3906d2c01e0f82b1840e996d [
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
);
}