glcpp: Add a testcase for the failure in compiling xonotic's shader.
gcc and mesa master agree that this is OK.
This commit is contained in:
4
src/glsl/glcpp/tests/073-if-in-ifdef.c
Normal file
4
src/glsl/glcpp/tests/073-if-in-ifdef.c
Normal file
@@ -0,0 +1,4 @@
|
||||
#if UNDEF
|
||||
#if UNDEF > 1
|
||||
#endif
|
||||
#endif
|
5
src/glsl/glcpp/tests/073-if-in-ifdef.c.expected
Normal file
5
src/glsl/glcpp/tests/073-if-in-ifdef.c.expected
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user