From: Carl Worth Date: Fri, 14 May 2010 17:01:44 +0000 (-0700) Subject: Add test for composed invocation of function-like macros. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=92e7bf0f50ff673b7441b2f2be9ef99a4af8cae4;p=mesa.git Add test for composed invocation of function-like macros. This is a case like "foo(bar(x))" where both foo and bar are defined function-like macros. This is not yet parsed correctly so this test fails. --- diff --git a/tests/021-define-func-compose.c b/tests/021-define-func-compose.c new file mode 100644 index 00000000000..21ddd0e65f9 --- /dev/null +++ b/tests/021-define-func-compose.c @@ -0,0 +1,3 @@ +#define bar(x) (1+(x)) +#define foo(y) (2*(y)) +foo(bar(3))