summaryrefslogtreecommitdiff
path: root/test/FrontendC/2006-05-01-AppleAlignmentPragma.c
blob: c9050aa9e4e44929c081fe91161c07c0a9ac496f (plain)
1
2
3
4
5
6
7
8
9
10
11
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;