f4a2713ac8
Change-Id: Ia40e9ffdf29b5dab2f122f673ff6802a58bc690f
18 lines
201 B
C
18 lines
201 B
C
// 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 };
|
|
}
|