llvm-for-llvmta/tools/clang/test/CodeGen/2007-04-05-UnPackedStruct.c

17 lines
169 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 %s -emit-llvm -o -
enum {
tA = 0,
tB = 1
};
struct MyStruct {
unsigned long A;
void * B;
};
void bar(){
struct MyStruct MS = { tB, 0 };
}