summaryrefslogtreecommitdiff
path: root/test/FrontendC/2003-11-20-Bitfields.c
blob: c9ea0dc7f1ecc01a46cf89240899fbd3a77f52b4 (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 face_cachel {
  unsigned int reverse :1;
  unsigned char font_specified[1];
};

void
ensure_face_cachel_contains_charset (struct face_cachel *cachel) {
  cachel->font_specified[0] = 0;
}