Add test for chained #define directives.
authorCarl Worth <cworth@cworth.org>
Tue, 11 May 2010 19:29:22 +0000 (12:29 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 11 May 2010 19:29:22 +0000 (12:29 -0700)
Where one macro is defined in terms of another macro. The current
implementation does not yet deal with this correctly.

tests/002-define-chain.c [new file with mode: 0644]

diff --git a/tests/002-define-chain.c b/tests/002-define-chain.c
new file mode 100644 (file)
index 0000000..87d75c6
--- /dev/null
@@ -0,0 +1,3 @@
+#define foo 1
+#define bar foo
+bar