glsl/glcpp: Add testing for null directives with spaces and comments
This new "make check" test stresses out the support from the last two commits, (to esnure that '#' is correctly interpreted as the null directives, regardless of any whitespace or comments on the same line). Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
c0127c30dd
commit
9a54b07651
|
@ -0,0 +1,9 @@
|
|||
/* GLSL accepts a null directive. Let's test that in several variations: */
|
||||
#
|
||||
#
|
||||
/*....*/#/*....*/
|
||||
/*..*/ # /*..*/
|
||||
#//...
|
||||
# //...
|
||||
/*....*/#/**///..
|
||||
/*..*/ # /**/ //
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue