llvm-mirror/test/CFrontend/2003-11-20-UnionBitfield.c
2007-01-17 07:59:14 +00:00

13 lines
208 B
C

// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
struct printf_spec {
unsigned int minus_flag:1;
char converter;
};
void parse_doprnt_spec () {
struct printf_spec spec;
spec.minus_flag = 1;
}