From: Carl Worth Date: Thu, 13 May 2010 19:57:34 +0000 (-0700) Subject: Add test where a macro formal parameter is the same as an existing macro. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=30140733112b09d531d949a9bfbd9daf0cae4781;p=mesa.git Add test where a macro formal parameter is the same as an existing macro. This is a well-defined condition, but something that currently trips up the implementation. Should be easy to fix. --- diff --git a/tests/018-define-func-macro-as-parameter.c b/tests/018-define-func-macro-as-parameter.c new file mode 100644 index 00000000000..668130b8f9b --- /dev/null +++ b/tests/018-define-func-macro-as-parameter.c @@ -0,0 +1,3 @@ +#define x 0 +#define foo(x) x +foo(1)