glcpp: Test a non-function-like macro using the token paste operator
Apparently we never implemented this, (but we've got a GLSL 1.30 test in piglit that is exercising this case). 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/097-paste-with-non-function-macro.c
Normal file
3
src/glsl/glcpp/tests/097-paste-with-non-function-macro.c
Normal file
@@ -0,0 +1,3 @@
|
||||
#define PASTE_MACRO one ## token
|
||||
PASTE_MACRO
|
||||
|
@@ -0,0 +1,4 @@
|
||||
|
||||
onetoken
|
||||
|
||||
|
Reference in New Issue
Block a user