2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / cpp / _Pragma1.C
blob2a4086b8125a853f2cb9557eea79354dd3eba993
1 // PR c++/27748
2 // This is supposed to succeed only if
3 // the target doesn't define HANDLE_PRAGMA_PACK_WITH_EXPANSION.
4 // { dg-do compile { target { ! { *-*-solaris2* } } } }
6 #define push bar
7 #define foo _Pragma ("pack(push)")
8 foo
9 int i;
10 #pragma pack(pop)