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

Tree @release_23 (Download .tar.gz)

2003-08-29-StructLayoutBug.c @release_23raw · 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) {}