mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-20 21:00:29 +01:00
Add test for function-like macro invocations with multiple-token arguments.
These are not yet parsed correctly, so these tests fail.
This commit is contained in:
parent
2be8be0f74
commit
db272e6e6f
2 changed files with 4 additions and 0 deletions
2
tests/019-define-func-1-arg-multi.c
Normal file
2
tests/019-define-func-1-arg-multi.c
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
#define foo(x) (x)
|
||||
foo(this is more than one word)
|
||||
2
tests/020-define-func-2-arg-multi.c
Normal file
2
tests/020-define-func-2-arg-multi.c
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
#define foo(x,y) x, two fish, red fish, y
|
||||
foo(one fish, blue fish)
|
||||
Loading…
Add table
Reference in a new issue