diff options
author | Carl Worth <cworth@cworth.org> | 2010-05-13 12:57:34 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-05-14 09:53:50 -0700 |
commit | 30140733112b09d531d949a9bfbd9daf0cae4781 (patch) | |
tree | 4e19c80b2e5b689dfdf99b2a2f599a13630cc74e | |
parent | dcc2ecd30d2ff68792f192c867b301a10872d86d (diff) |
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.
-rw-r--r-- | tests/018-define-func-macro-as-parameter.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 0000000000..668130b8f9 --- /dev/null +++ b/tests/018-define-func-macro-as-parameter.c @@ -0,0 +1,3 @@ +#define x 0 +#define foo(x) x +foo(1) |