aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/tests/086-reserved-macro-names.c.expected
diff options
context:
space:
mode:
authorCarl Worth <[email protected]>2010-08-11 13:48:13 -0700
committerCarl Worth <[email protected]>2010-08-11 14:38:03 -0700
commitcb5ea0c79bd74ea6263d54302ed19c243ceb05de (patch)
tree89b3831c97a0460bda76dfc962cf931a4fe1ec40 /src/glsl/glcpp/tests/086-reserved-macro-names.c.expected
parent5a6285cc862df35ef5275c3858f833e0807dee14 (diff)
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).
Diffstat (limited to 'src/glsl/glcpp/tests/086-reserved-macro-names.c.expected')
-rw-r--r--src/glsl/glcpp/tests/086-reserved-macro-names.c.expected7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/glsl/glcpp/tests/086-reserved-macro-names.c.expected b/src/glsl/glcpp/tests/086-reserved-macro-names.c.expected
new file mode 100644
index 00000000000..6a9df682685
--- /dev/null
+++ b/src/glsl/glcpp/tests/086-reserved-macro-names.c.expected
@@ -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.
+
+
+
+