OSDN Git Service

PR c++/18698
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp / _Pragma1.C
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 { ! { *-*-solaris2* sh*-[us]*-elf } } } }
6
7 #define push bar
8 #define foo _Pragma ("pack(push)")
9 foo
10 int i;
11 #pragma pack(pop)