History

fix push_macro, asked Tom to help me testfix push_macro

jiang committed 12 years ago

Commit 52891b61 parent 5a514103 files · +10 −3Browse files

Showing the changes to tests/tcctest.c (1 of 3 files). Show all

Unified · Split

tests/tcctest.c+7−0
@@ -383,7 +383,14 @@ comment · 382 unmodified lines
383383 #define MACRO_TEST "macro_test1\n"
384384 #pragma push_macro("MACRO_TEST")
385385 #undef MACRO_TEST
386+
386387 #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")
387394 printf(MACRO_TEST);
388395 #pragma pop_macro("MACRO_TEST")
389396 printf(MACRO_TEST);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t