summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2003-11-20-Bitfields.c
blob: 5284cde4a9461ea0da4cf40cb595515ff256d4df (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: %clang_cc1 -emit-llvm %s  -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;
}