mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-22 14:05:03 +00:00
New testcase that crashes the new CFE.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28042 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
229924a79f
commit
1c174c62b8
12
test/CFrontend/2006-05-01-AppleAlignmentPragma.c
Normal file
12
test/CFrontend/2006-05-01-AppleAlignmentPragma.c
Normal file
@ -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;
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user