☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
CodeGen
/
alignof.c
☽
☼
clang/test/CodeGen/alignof.c
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 -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(void) {
11
return __alignof__(t1_tmp);
12
}