llvm-6502/test/FrontendC/2003-11-20-Bitfields.c

13 lines
247 B
C
Raw Normal View History

// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null
struct face_cachel {
unsigned int reverse :1;
unsigned char font_specified[1];
};
void
ensure_face_cachel_contains_charset (struct face_cachel *cachel) {
cachel->font_specified[0] = 0;
}