diff options
author | Chris Lattner <sabre@nondot.org> | 2006-05-01 23:18:55 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-05-01 23:18:55 +0000 |
commit | 1c174c62b87ea2403b7b6cee2e0128a69db58c88 (patch) | |
tree | ce8e12fac34972abf4164de4018b424133085fb2 /test/CFrontend | |
parent | 229924a79f9a3b33b767527b9d4249e1133ceeda (diff) | |
download | external_llvm-1c174c62b87ea2403b7b6cee2e0128a69db58c88.zip external_llvm-1c174c62b87ea2403b7b6cee2e0128a69db58c88.tar.gz external_llvm-1c174c62b87ea2403b7b6cee2e0128a69db58c88.tar.bz2 |
New testcase that crashes the new CFE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28042 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CFrontend')
-rw-r--r-- | test/CFrontend/2006-05-01-AppleAlignmentPragma.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/CFrontend/2006-05-01-AppleAlignmentPragma.c b/test/CFrontend/2006-05-01-AppleAlignmentPragma.c new file mode 100644 index 0000000..c9050aa --- /dev/null +++ b/test/CFrontend/2006-05-01-AppleAlignmentPragma.c @@ -0,0 +1,12 @@ +// RUN: %llvmgcc %s -S -o - + +#ifdef __APPLE__ +/* test that X is layed out correctly when this pragma is used. */ +#pragma options align=mac68k +#endif + +struct S { + unsigned A; + unsigned short B; +} X; + |