mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 06:58:05 +02:00
Add test invoking a macro with an argument containing (non-macro) parentheses.
The macro invocation is defined to consume all text between a set of matched parentheses. We previously tested for inner parentheses from a nested function-like macro invocation. Here we test for inner parentheses occuring on their own, (not part of another macro invocation).
This commit is contained in:
parent
38bd27b444
commit
f6ae186cfd
1 changed files with 2 additions and 0 deletions
2
tests/022-define-func-arg-with-parens.c
Normal file
2
tests/022-define-func-arg-with-parens.c
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
#define foo(x) (x)
|
||||
foo(argument(including parens)for the win)
|
||||
Loading…
Add table
Reference in a new issue