diff options
author | Devang Patel <dpatel@apple.com> | 2008-01-24 23:55:34 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-01-24 23:55:34 +0000 |
commit | e205fef3678693c803b069ea00241d2e16a6ea6e (patch) | |
tree | ec274e854a9d1700b716f891baf9c77517092aca /test | |
parent | 40743b83bf96fe39ac94f4d782e0bc73b4d28919 (diff) | |
download | external_llvm-e205fef3678693c803b069ea00241d2e16a6ea6e.zip external_llvm-e205fef3678693c803b069ea00241d2e16a6ea6e.tar.gz external_llvm-e205fef3678693c803b069ea00241d2e16a6ea6e.tar.bz2 |
New test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46333 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CFrontend/2008-01-24-StructAlignAndBitFields.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CFrontend/2008-01-24-StructAlignAndBitFields.c b/test/CFrontend/2008-01-24-StructAlignAndBitFields.c new file mode 100644 index 0000000..84afa3b --- /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; + |