glcpp: Add test case for recently fixed loop-control underflow bug.
authorCarl Worth <cworth@cworth.org>
Mon, 3 Jun 2013 19:49:10 +0000 (12:49 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 3 Jun 2013 20:33:32 +0000 (13:33 -0700)
commit610fe6da7909c96ae8fa85d93ece5c2e5c2d729b
tree507403214b9bfb60a887c82eafd5bd1ee74708d3
parentd8eeb1d330c52aad734cc553e41b457e6727275c
glcpp: Add test case for recently fixed loop-control underflow bug.

To trigger the bug, it suffices to have a line-continuation followed by
a newline and then a non-line-continuation backslash.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/glcpp/tests/117-line-continuation-and-non-continuation-backslash.c [new file with mode: 0644]
src/glsl/glcpp/tests/117-line-continuation-and-non-continuation-backslash.c.expected [new file with mode: 0644]