2003-08-29-StructLayoutBug.c   [plain text]


// 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) {}