Add a couple more tests for chained #define directives.

One with the chained defines in the opposite order, and one with the
potential to trigger an infinite-loop bug through mutual
recursion. Each of these tests pass already.
This commit is contained in:
Carl Worth 2010-05-11 12:35:06 -07:00
parent c6d5af3351
commit 34db0d332e
2 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1,3 @@
#define bar foo
#define foo 1
bar

View file

@ -0,0 +1,6 @@
#define foo bar
#define bar baz
#define baz foo
foo
bar
baz