From: Devang Patel Date: Thu, 24 Jan 2008 23:55:34 +0000 (+0000) Subject: New test. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=e205fef3678693c803b069ea00241d2e16a6ea6e;p=oota-llvm.git New test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46333 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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; +