Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / 2007-04-05-PackedStruct.c
bloba65c6818de0c745d4087c77a5d41d36fdcc5b057
1 // RUN: %clang_cc1 %s -emit-llvm -o -
3 #pragma pack(push, 2)
5 enum {
6 tA = 0,
7 tB = 1
8 };
10 struct MyStruct {
11 unsigned long A;
12 char C;
13 void * B;
16 void bar(void){
17 struct MyStruct MS = { tB, 0 };