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