Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
d7d5f0223bd30dfd618762349c6209dd1d5ea3e6
/
.
/
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
);
}