aboutsummaryrefslogtreecommitdiff
path: root/tests/tcctest.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcctest.c')
-rw-r--r--tests/tcctest.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/tests/tcctest.c b/tests/tcctest.c
index ee4a0e6..3a62354 100644
--- a/tests/tcctest.c
+++ b/tests/tcctest.c
@@ -380,21 +380,21 @@ comment
comment. */
TEST2 /* the comment */ ();
/* macro_push and macro_pop test */
- #define MACRO_TEST "macro_test1\n"
- #pragma push_macro("MACRO_TEST")
- #undef MACRO_TEST
- #define MACRO_TEST "macro_test2\n"
- printf(MACRO_TEST);
- #pragma pop_macro("MACRO_TEST")
- printf(MACRO_TEST);
+ #define MACRO_TEST "macro_test1\n"
+ #pragma push_macro("MACRO_TEST")
+ #undef MACRO_TEST
+ #define MACRO_TEST "macro_test2\n"
+ printf(MACRO_TEST);
+ #pragma pop_macro("MACRO_TEST")
+ printf(MACRO_TEST);
/* gcc does not support
- #define MACRO_TEST_MACRO "MACRO_TEST"
- #pragma push_macro(MACRO_TEST_MACRO)
- #undef MACRO_TEST
- #define MACRO_TEST "macro_test3\n"
- printf(MACRO_TEST);
- #pragma pop_macro(MACRO_TEST_MACRO)
- printf(MACRO_TEST);
+ #define MACRO_TEST_MACRO "MACRO_TEST"
+ #pragma push_macro(MACRO_TEST_MACRO)
+ #undef MACRO_TEST
+ #define MACRO_TEST "macro_test3\n"
+ printf(MACRO_TEST);
+ #pragma pop_macro(MACRO_TEST_MACRO)
+ printf(MACRO_TEST);
*/
}