llvm-mirror/test/CFrontend/2007-04-05-UnPackedStruct.c

17 lines
159 B
C
Raw Normal View History

// RUN: %llvmgcc %s -S -o -
enum {
tA = 0,
tB = 1
};
struct MyStruct {
unsigned long A;
void * B;
};
void bar(){
struct MyStruct MS = { tB, 0 };
}