From: Carl Worth Date: Wed, 29 Jan 2014 22:19:04 +0000 (-0800) Subject: glcpp: Add "make check" test for comment-parsing bug X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2dc93bd5d19fa389b314eddd6dd8a62fae2be1be;p=mesa.git glcpp: Add "make check" test for comment-parsing bug This is the innocent-looking but killer test case to verify the bug fixed in the preceding commit. Reviewed-by: Jordan Justen --- diff --git a/src/glsl/glcpp/tests/121-comment-bug-72686.c b/src/glsl/glcpp/tests/121-comment-bug-72686.c new file mode 100644 index 00000000000..67ebe73e5cf --- /dev/null +++ b/src/glsl/glcpp/tests/121-comment-bug-72686.c @@ -0,0 +1,2 @@ +/* + */ // diff --git a/src/glsl/glcpp/tests/121-comment-bug-72686.c.expected b/src/glsl/glcpp/tests/121-comment-bug-72686.c.expected new file mode 100644 index 00000000000..402a76381e3 --- /dev/null +++ b/src/glsl/glcpp/tests/121-comment-bug-72686.c.expected @@ -0,0 +1,3 @@ + + +