Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / g++.dg / cpp / _Pragma1.C
blob93d55ee53cd8b97247f93ffc808485c056abea6f
1 // PR c++/27748
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 } } } }
7 #define push bar
8 #define foo _Pragma ("pack(push)")
9 foo
10 int i;
11 #pragma pack(pop)