comparison gcc/testsuite/gcc.dg/cpp/pragma-pop_macro-1.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
comparison
equal deleted inserted replaced
68:561a7518be6b 111:04ced10e8804
1 /* PR preprocessor/35061 */
2 /* Do nothing if there is nothing on the macro stack to pop. */
3
4 /* { dg-do preprocess } */
5
6 #define X 1
7 /* # pragma push_macro("X") */
8 # undef X
9 # pragma pop_macro("X")
10 #ifdef X
11 #error X is defined
12 #endif