llvm-6502/test/CFrontend/2003-09-30-StructLayout.c

17 lines
164 B
C
Raw Normal View History

enum En {
ENUM_VAL
};
struct St {
unsigned char A;
enum En B;
unsigned char C;
enum En D;
float E;
};
void func(struct St* A) {
A->D = ENUM_VAL;
}