blob: 1e9171e4235e89f10a257f6954d9b2cb8a218e31 [file] [log] [blame]
Eric Christopher3883e662011-07-26 22:17:02 +00001// RUN: %clang_cc1 %s -emit-llvm -o -
2
3#pragma pack(push, 2)
4
5enum {
6 tA = 0,
7 tB = 1
8};
9
10struct MyStruct {
11 unsigned long A;
12 char C;
13 void * B;
14};
15
16void bar(){
17struct MyStruct MS = { tB, 0 };
18}