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:
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
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user