mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
glcpp: Add a test for a macro that implements token pasting twice.
This is something that piglit is exercising that currently fails. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Carl Worth <cworth@cworth.org>
This commit is contained in:
parent
9c72b729f3
commit
8e6b99e7b1
2 changed files with 7 additions and 0 deletions
3
src/glsl/glcpp/tests/096-paste-twice.c
Normal file
3
src/glsl/glcpp/tests/096-paste-twice.c
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
#define paste_twice(a,b,c) a ## b ## c
|
||||
paste_twice(just, one, token)
|
||||
|
||||
4
src/glsl/glcpp/tests/096-paste-twice.c.expected
Normal file
4
src/glsl/glcpp/tests/096-paste-twice.c.expected
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
|
||||
justonetoken
|
||||
|
||||
|
||||
Loading…
Add table
Reference in a new issue