llvm-project/llvm/test/FrontendC/2003-11-20-UnionBitfield.c

13 lines
205 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 04:57:33 +08:00
struct printf_spec {
unsigned int minus_flag:1;
char converter;
};
void parse_doprnt_spec () {
struct printf_spec spec;
spec.minus_flag = 1;
}