From: Carl Worth Date: Tue, 11 May 2010 19:29:22 +0000 (-0700) Subject: Add test for chained #define directives. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=49206ef4c8adba5427e9d9b5e0dfc11345262890;p=mesa.git 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. --- diff --git a/tests/002-define-chain.c b/tests/002-define-chain.c new file mode 100644 index 00000000000..87d75c68751 --- /dev/null +++ b/tests/002-define-chain.c @@ -0,0 +1,3 @@ +#define foo 1 +#define bar foo +bar