glcpp: Add new test showing bug where a trailing ':' prevents macro expansion
authorCarl Worth <cworth@cworth.org>
Sat, 21 Jan 2012 17:22:24 +0000 (09:22 -0800)
committerCarl Worth <cworth@cworth.org>
Thu, 2 Feb 2012 20:05:21 +0000 (12:05 -0800)
commite931b0e05b19259b0f5b53faf73b375013ab1cb3
tree60375b7bd9b182cf3c192bc81724249b72011acc
parent2e8f8cb383320b83ba5d85c27808ac2d841834e6
glcpp: Add new test showing bug where a trailing ':' prevents macro expansion

This demonstrates a bug that was recently triggered in piglit.

Here is the original bug report (containing a test case almost identical
to this one):

https://bugs.freedesktop.org/show_bug.cgi?id=44764

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/glcpp/tests/100-macro-with-colon.c [new file with mode: 0644]
src/glsl/glcpp/tests/100-macro-with-colon.c.expected [new file with mode: 0644]