1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
/* Do the preprocessor push_macro/pop_macro test. */ /* { dg-do run } */ extern "C" void abort (); #define _ 2 #pragma push_macro("_") #undef _ #define _ 1 #pragma pop_macro("_") int main () { if (_ != 2) abort (); return 0; }