☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
CodeGen
/
2007-08-01-LoadStoreAlign.c
☽
☼
clang/test/CodeGen/2007-08-01-LoadStoreAlign.c
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
2
3
struct p {
4
char a;
5
int b;
6
} __attribute__ ((packed));
7
8
struct p t = { 1, 10 };
9
struct p u;
10
11
int main (void) {
12
// CHECK: align 1
13
// CHECK: align 1
14
int tmp = t.b;
15
u.b = tmp;
16
return tmp;
17
18
}