mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-29 13:54:57 +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…
Reference in New Issue
Block a user