Files
third_party_mesa3d/src/compiler/glsl/glcpp/tests/082-invalid-paste.c
Carl Worth 3fbdac28d5 glcpp: Remove illegal characters from tests
Some of the existing tests were using '@' and '"' incidentally within the test
body. Neither of these characters are actually legal for GLSL. And since we
are planning to start generating errors for illegal characters, we need to
first make the test suite clean.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2017-01-04 14:40:48 -08:00

8 lines
98 B
C

#define PASTE(x,y) x ## y
PASTE(<,>)
PASTE(0,abc)
PASTE(1,=)
PASTE(2,~)
PASTE(3,-4)
PASTE(4,+5.2)