glcpp: Add "make check" test for comment-parsing bug
authorCarl Worth <cworth@cworth.org>
Wed, 29 Jan 2014 22:19:04 +0000 (14:19 -0800)
committerCarl Worth <cworth@cworth.org>
Fri, 31 Jan 2014 18:02:54 +0000 (10:02 -0800)
This is the innocent-looking but killer test case to verify the bug fixed in
the preceding commit.

Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
src/glsl/glcpp/tests/121-comment-bug-72686.c [new file with mode: 0644]
src/glsl/glcpp/tests/121-comment-bug-72686.c.expected [new file with mode: 0644]

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 (file)
index 0000000..67ebe73
--- /dev/null
@@ -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 (file)
index 0000000..402a763
--- /dev/null
@@ -0,0 +1,3 @@
+  
+
+