aboutsummaryrefslogtreecommitdiff
path: root/tests/tcctest.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcctest.c')
-rw-r--r--tests/tcctest.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/tcctest.c b/tests/tcctest.c
index 3a62354..3fc7b82 100644
--- a/tests/tcctest.c
+++ b/tests/tcctest.c
@@ -383,7 +383,14 @@ comment
#define MACRO_TEST "macro_test1\n"
#pragma push_macro("MACRO_TEST")
#undef MACRO_TEST
+
#define MACRO_TEST "macro_test2\n"
+ #pragma push_macro("MACRO_TEST")
+ #undef MACRO_TEST
+
+ #define MACRO_TEST "macro_test3\n"
+ printf(MACRO_TEST);
+ #pragma pop_macro("MACRO_TEST")
printf(MACRO_TEST);
#pragma pop_macro("MACRO_TEST")
printf(MACRO_TEST);