summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/2003-08-29-StructLayoutBug.c
blob: 0f45fc94e340a1e517f8c3026ef11276e7f3e52f (about) (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %clang_cc1 -emit-llvm %s  -o /dev/null

struct foo {
  unsigned int I:1;
  unsigned char J[1];
  unsigned int K:1;
 };

void test(struct foo *X) {}