llvm-mirror/test/FrontendC/2006-05-01-AppleAlignmentPragma.c
Anton Korobeynikov eb3cd5e822 For PR1338: Rename test dirs
llvm-svn: 51695
2008-05-29 19:17:15 +00:00

13 lines
201 B
C

// 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;