mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
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.
This commit is contained in:
parent
dcc2ecd30d
commit
3014073311
1 changed files with 3 additions and 0 deletions
3
tests/018-define-func-macro-as-parameter.c
Normal file
3
tests/018-define-func-macro-as-parameter.c
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#define x 0
|
||||
#define foo(x) x
|
||||
foo(1)
|
||||
Loading…
Add table
Reference in a new issue