llvm-project/llvm/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
2004-11-07 06:41:00 +08:00
2003-11-21 03:05:21 +08:00
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;
}