summaryrefslogtreecommitdiff
path: root/test/CodeGen/2003-11-20-UnionBitfield.c
blob: 6ffe76a1719744dc4c9dc532130db5f88417f552 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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;
}