llvm-6502/test/CFrontend/2008-01-24-StructAlignAndBitFields.c
Devang Patel e205fef367 New test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46333 91177308-0d34-0410-b5e6-96231b3b80d8
2008-01-24 23:55:34 +00:00

7 lines
182 B
C

// 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;