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:
Carl Worth
2011-09-29 17:04:09 -07:00
parent 3c01a58944
commit 7bb3403e01
2 changed files with 7 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
#define PASTE_MACRO one ## token
PASTE_MACRO

View File

@@ -0,0 +1,4 @@
onetoken