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