aboutsummaryrefslogtreecommitdiff
path: root/test/FrontendC/2003-11-20-UnionBitfield.c
blob: f999c2077721875b485454aada059f588477bc69 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: %llvmgcc -S %s -o - | llvm-as -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;
}