glcpp: Add several tests for diagnostics.
Which are proving to be useful since some of these tests are not yet acting as desired, (in particular, the unterminated if test is not generating any diagnostic).
This commit is contained in:
7
src/glsl/glcpp/tests/086-reserved-macro-names.c.expected
Normal file
7
src/glsl/glcpp/tests/086-reserved-macro-names.c.expected
Normal file
@@ -0,0 +1,7 @@
|
||||
0:1(10): preprocessor error: Macro names starting with "__" are reserved.
|
||||
|
||||
0:2(9): preprocessor error: Macro names starting with "GL_" are reserved.
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user