From 2dc93bd5d19fa389b314eddd6dd8a62fae2be1be Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Wed, 29 Jan 2014 14:19:04 -0800 Subject: 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 --- src/glsl/glcpp/tests/121-comment-bug-72686.c | 2 ++ src/glsl/glcpp/tests/121-comment-bug-72686.c.expected | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 src/glsl/glcpp/tests/121-comment-bug-72686.c create mode 100644 src/glsl/glcpp/tests/121-comment-bug-72686.c.expected (limited to 'src') 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 @@ + + + -- cgit v1.2.3