Merged revisions 143552,143554,143557,143560,143562,143564-143567,143570-143573,14357...
[official-gcc.git] / gcc / testsuite / gcc.dg / cpp / _Pragma6.c
blob74511a10066cdae8c785af28af55c411e96f0ee5
1 /* PR c/27747 */
2 /* This is supposed to succeed only if
3 the target defines HANDLE_PRAGMA_PACK_PUSH_POP
4 and doesn't define HANDLE_PRAGMA_PACK_WITH_EXPANSION. */
5 /* { dg-do compile { target { ! { powerpc-ibm-aix* *-*-solaris2* fido-*-* m68k-*-* sh*-[us]*-elf m32c-*-* } } } } */
7 #define push bar
8 #define foo _Pragma ("pack(push)")
9 foo
10 int i;
11 #pragma pack(pop)