mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +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:
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;
|
||||
|
Reference in New Issue
Block a user