summaryrefslogtreecommitdiff
path: root/test/FrontendC/2006-05-01-AppleAlignmentPragma.c
blob: 233968b51aa38afaa9ba0b08784eff8b11d9d199 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: %llvmgcc %s -S -o -

#ifdef __APPLE__
/* test that X is laid out correctly when this pragma is used. */
#pragma options align=mac68k
#endif

struct S {
  unsigned A;
  unsigned short B;
} X;