mesa/src/glsl/glcpp/tests/096-paste-twice.c
Carl Worth 8e6b99e7b1 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>
2011-09-30 11:43:40 -07:00

3 lines
70 B
C

#define paste_twice(a,b,c) a ## b ## c
paste_twice(just, one, token)