llvm-project/clang/test/CodeGen/2003-11-20-UnionBitfield.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
201 B
C
Raw Normal View History

// RUN: %clang_cc1 -emit-llvm %s -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;
}