mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 06:30:10 +01:00
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.
This commit is contained in:
parent
ac070e8bf5
commit
92e7bf0f50
1 changed files with 3 additions and 0 deletions
3
tests/021-define-func-compose.c
Normal file
3
tests/021-define-func-compose.c
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#define bar(x) (1+(x))
|
||||
#define foo(y) (2*(y))
|
||||
foo(bar(3))
|
||||
Loading…
Add table
Reference in a new issue