llvm-project/llvm/test/FrontendC/2003-08-29-StructLayoutBug.c

11 lines
164 B
C
Raw Normal View History

2004-11-07 06:41:00 +08:00
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
struct foo {
unsigned int I:1;
unsigned char J[1];
unsigned int K:1;
};
void test(struct foo *X) {}