diff options
author | Devang Patel <dpatel@apple.com> | 2008-01-21 22:15:58 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-01-21 22:15:58 +0000 |
commit | c1eb8352f2b9af4a17ff1fce74e018e227e24925 (patch) | |
tree | c4b7b21377edb8de906362f88b22cf17300b99b7 /test/CFrontend | |
parent | 80f4a4974621c1c522dc6bdc1f7e193119df9617 (diff) | |
download | external_llvm-c1eb8352f2b9af4a17ff1fce74e018e227e24925.zip external_llvm-c1eb8352f2b9af4a17ff1fce74e018e227e24925.tar.gz external_llvm-c1eb8352f2b9af4a17ff1fce74e018e227e24925.tar.bz2 |
New test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46220 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CFrontend')
-rw-r--r-- | test/CFrontend/2008-01-21-PackedStructField.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CFrontend/2008-01-21-PackedStructField.c b/test/CFrontend/2008-01-21-PackedStructField.c new file mode 100644 index 0000000..c87e65b --- /dev/null +++ b/test/CFrontend/2008-01-21-PackedStructField.c @@ -0,0 +1,5 @@ +// RUN: %llvmgcc %s -S -o - + +struct X { long double b; unsigned char c; double __attribute__((packed)) d; }; +struct X x = { 3.0L, 5, 3.0 }; + |