mirror of
https://github.com/mirror/tinycc.git
synced 2026-08-24 11:33:28 +08:00
fix push_macro, asked Tom to help me testfix push_macro
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user