summaryrefslogtreecommitdiff
path: root/dist/Mesa/src/glsl/glcpp/tests/125-es-short-circuit-undefined.c
diff options
context:
space:
mode:
Diffstat (limited to 'dist/Mesa/src/glsl/glcpp/tests/125-es-short-circuit-undefined.c')
-rw-r--r--dist/Mesa/src/glsl/glcpp/tests/125-es-short-circuit-undefined.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/dist/Mesa/src/glsl/glcpp/tests/125-es-short-circuit-undefined.c b/dist/Mesa/src/glsl/glcpp/tests/125-es-short-circuit-undefined.c
deleted file mode 100644
index 4ee29f6d9..000000000
--- a/dist/Mesa/src/glsl/glcpp/tests/125-es-short-circuit-undefined.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/* For GLSL in OpenGL ES, an undefined macro appearing in an #if or #elif
- * expression, (other than as an argument to defined) is an error.
- *
- * Except in the case of a short-circuiting && or || operator, where the
- * specification explicitly mandates that there be no error.
- */
-#version 300 es
-
-/* These yield errors */
-#if NOT_DEFINED
-#endif
-
-#if 0
-#elif ALSO_NOT_DEFINED
-#endif
-
-/* But these yield no errors */
-#if 1 || STILL_NOT_DEFINED
-Success
-#endif
-
-#if 0
-#elif 0 && WILL_ANYONE_DEFINE_ANYTHING
-#else
-More success
-#endif
-