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-Tag: mesa-7.9-rc1~1173^2~625^2~100^2~70 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=30140733112b09d531d949a9bfbd9daf0cae4781;p=platform%2Fupstream%2Fmesa.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 0000000..668130b --- /dev/null +++ b/tests/018-define-func-macro-as-parameter.c @@ -0,0 +1,3 @@ +#define x 0 +#define foo(x) x +foo(1)