diff options
author | Carl Worth <cworth@cworth.org> | 2010-05-11 12:39:29 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-05-11 12:39:29 -0700 |
commit | df2ab5b99237ab0b6760226554b133a5ccd11579 (patch) | |
tree | bf15712785360ec428e5d34ebea22c4bc565f425 /tests/006-define-composite-chain-reverse.c | |
parent | 34db0d332e0a1477971b7c29c18899e7264f9bce (diff) |
Add tests defining a macro to be a literal and another macro.
These 3 new tests are modeled after 3 existing tests but made slightly
more complex since now instead of definining a new macro to be an
existing macro, we define it to be replaced with two tokens, (one a
literal, and one an existing macro).
These tests all fail currently because the replacement lookup is
currently happening on the basis of the entire replacement string
rather than on a list of tokens.
Diffstat (limited to 'tests/006-define-composite-chain-reverse.c')
-rw-r--r-- | tests/006-define-composite-chain-reverse.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/006-define-composite-chain-reverse.c b/tests/006-define-composite-chain-reverse.c new file mode 100644 index 0000000000..4bb91a1221 --- /dev/null +++ b/tests/006-define-composite-chain-reverse.c @@ -0,0 +1,3 @@ +#define bar a foo +#define foo 1 +bar |