diff options
author | Carl Worth <[email protected]> | 2014-01-29 14:19:04 -0800 |
---|---|---|
committer | Carl Worth <[email protected]> | 2014-01-31 10:02:54 -0800 |
commit | 2dc93bd5d19fa389b314eddd6dd8a62fae2be1be (patch) | |
tree | 49bec102e25fd69a00b90208c18b9a29eb822acb | |
parent | 71978cf66fe52152f376fb896b1b4d2f1624777d (diff) |
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 <[email protected]>
-rw-r--r-- | src/glsl/glcpp/tests/121-comment-bug-72686.c | 2 | ||||
-rw-r--r-- | src/glsl/glcpp/tests/121-comment-bug-72686.c.expected | 3 |
2 files changed, 5 insertions, 0 deletions
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 @@ + + + |