diff --git a/test/CFrontend/2008-01-24-StructAlignAndBitFields.c b/test/CFrontend/2008-01-24-StructAlignAndBitFields.c new file mode 100644 index 00000000000..84afa3bd586 --- /dev/null +++ b/test/CFrontend/2008-01-24-StructAlignAndBitFields.c @@ -0,0 +1,6 @@ +// RUN: %llvmgcc %s -S -o - + +// This struct is not 4 byte aligned becaues bit-field +// type does not influence struct alignment. +struct U { char a; short b; int c:25; char d; } u; +