1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 08:23:21 +01:00
llvm-mirror/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-06 23:41:00 +01:00
2003-11-20 21:57:33 +01:00
struct printf_spec {
unsigned int minus_flag:1;
char converter;
};
void parse_doprnt_spec () {
struct printf_spec spec;
spec.minus_flag = 1;
}