Skip to content

Commit

Permalink
Added unit test for better coverage of bug I just fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Feb 26, 2010
1 parent be14e4f commit a617468
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions unit_tests/preprocessor/output/macro-arg-overrides-define
@@ -0,0 +1,5 @@
// This should produce THIS_IS_THE_MACRO_ARG and not THIS_IS_THE_DEFINE.
#define x THIS_IS_THE_DEFINE
#define b(x) x
#define z(x) b(x)
z(THIS_IS_THE_MACRO_ARG)
@@ -0,0 +1 @@
THIS_IS_THE_MACRO_ARG

0 comments on commit a617468

Please sign in to comment.