summaryrefslogtreecommitdiffstats
path: root/test/CFrontend/2003-08-29-StructLayoutBug.c
blob: a5f6fb106ff8a79e1ade9af464bd2804ffddf6c2 (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null

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

void test(struct foo *X) {}