Sign in
cobalt
/
cobalt
/
6c3b32a7dc6eaf2946073e6fa29281b8cb58f1e3
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
CodeGen
/
2007-04-05-PackedStruct.c
blob: 1e9171e4235e89f10a257f6954d9b2cb8a218e31 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 %s -emit-llvm -o -
#pragma
pack
(
push
,
2
)
enum
{
tA
=
0
,
tB
=
1
};
struct
MyStruct
{
unsigned
long
A
;
char
C
;
void
*
B
;
};
void
bar
(){
struct
MyStruct
MS
=
{
tB
,
0
};
}