Showing the changes to tests/tcctest.c (1 of 3 files). Show all
Unified · Split
| @@ -383,7 +383,14 @@ comment · 382 unmodified lines | |||
| 383 | #define MACRO_TEST "macro_test1\n" | 383 | #define MACRO_TEST "macro_test1\n" |
| 384 | #pragma push_macro("MACRO_TEST") | 384 | #pragma push_macro("MACRO_TEST") |
| 385 | #undef MACRO_TEST | 385 | #undef MACRO_TEST |
| 386 | |||
| 386 | #define MACRO_TEST "macro_test2\n" | 387 | #define MACRO_TEST "macro_test2\n" |
| 388 | #pragma push_macro("MACRO_TEST") | ||
| 389 | #undef MACRO_TEST | ||
| 390 | |||
| 391 | #define MACRO_TEST "macro_test3\n" | ||
| 392 | printf(MACRO_TEST); | ||
| 393 | #pragma pop_macro("MACRO_TEST") | ||
| 387 | printf(MACRO_TEST); | 394 | printf(MACRO_TEST); |
| 388 | #pragma pop_macro("MACRO_TEST") | 395 | #pragma pop_macro("MACRO_TEST") |
| 389 | printf(MACRO_TEST); | 396 | printf(MACRO_TEST); |