diff options
-rw-r--r-- | src/glsl/glcpp/tests/096-paste-twice.c | 3 | ||||
-rw-r--r-- | src/glsl/glcpp/tests/096-paste-twice.c.expected | 4 |
2 files changed, 7 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) + diff --git a/src/glsl/glcpp/tests/096-paste-twice.c.expected b/src/glsl/glcpp/tests/096-paste-twice.c.expected new file mode 100644 index 00000000000..e40194112aa --- /dev/null +++ b/src/glsl/glcpp/tests/096-paste-twice.c.expected @@ -0,0 +1,4 @@ + +justonetoken + + |