llvm.org GIT mirror llvm / release_20 test / CFrontend / 2003-08-29-StructLayoutBug.c
release_20

Tree @release_20 (Download .tar.gz)

2003-08-29-StructLayoutBug.c @release_20raw · history · blame

1
2
3
4
5
6
7
8
9
// 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) {}