diff options
author | Carl Worth <cworth@cworth.org> | 2010-05-11 12:29:22 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-05-11 12:29:22 -0700 |
commit | 49206ef4c8adba5427e9d9b5e0dfc11345262890 (patch) | |
tree | f677d0ccf9857deabdc29e982837d076bc9866ea | |
parent | beb26e8ac3152c4a7be43d7ee068b50e17b3ba18 (diff) |
Add test for chained #define directives.
Where one macro is defined in terms of another macro. The current
implementation does not yet deal with this correctly.
-rw-r--r-- | tests/002-define-chain.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/002-define-chain.c b/tests/002-define-chain.c new file mode 100644 index 0000000000..87d75c6875 --- /dev/null +++ b/tests/002-define-chain.c @@ -0,0 +1,3 @@ +#define foo 1 +#define bar foo +bar |