diff options
author | Carl Worth <[email protected]> | 2011-09-29 16:50:40 -0700 |
---|---|---|
committer | Carl Worth <[email protected]> | 2011-09-30 11:43:40 -0700 |
commit | 8e6b99e7b13da33547fcc8388fe867e851ee0bda (patch) | |
tree | 64c3a7fe3dad73886b1fafb3164147aa372376e3 /src/glsl/glcpp/tests/096-paste-twice.c | |
parent | 9c72b729f34e1d544a66222c90561f93db6cb132 (diff) |
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 <[email protected]>
Signed-off-by: Carl Worth <[email protected]>
Diffstat (limited to 'src/glsl/glcpp/tests/096-paste-twice.c')
-rw-r--r-- | src/glsl/glcpp/tests/096-paste-twice.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/glcpp/tests/096-paste-twice.c b/src/glsl/glcpp/tests/096-paste-twice.c new file mode 100644 index 00000000000..8da756fcba4 --- /dev/null +++ b/src/glsl/glcpp/tests/096-paste-twice.c @@ -0,0 +1,3 @@ +#define paste_twice(a,b,c) a ## b ## c +paste_twice(just, one, token) + |