☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
CodeGen
/
2007-04-05-PackedStruct.c
☽
☼
clang/test/CodeGen/2007-04-05-PackedStruct.c
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 %s -emit-llvm -o -
2
3
#pragma pack(push, 2)
4
5
enum {
6
tA = 0,
7
tB = 1
8
};
9
10
struct MyStruct {
11
unsigned long A;
12
char C;
13
void * B;
14
};
15
16
void bar(void){
17
struct MyStruct MS = { tB, 0 };
18
}