☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
CodeGen
/
2008-01-04-WideBitfield.c
☽
☼
clang/test/CodeGen/2008-01-04-WideBitfield.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
2
// PR1386
3
typedef unsigned long long uint64_t;
4
struct X {
5
unsigned char pad : 4;
6
uint64_t a : 64;
7
} __attribute__((packed)) x;
8
9
uint64_t f(void)
10
{
11
return x.a;
12
}