summaryrefslogtreecommitdiffstats
path: root/src/glsl/glcpp/tests/094-divide-by-zero-short-circuit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/glcpp/tests/094-divide-by-zero-short-circuit.c')
-rw-r--r--src/glsl/glcpp/tests/094-divide-by-zero-short-circuit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/glcpp/tests/094-divide-by-zero-short-circuit.c b/src/glsl/glcpp/tests/094-divide-by-zero-short-circuit.c
new file mode 100644
index 00000000000..a9c6f36def8
--- /dev/null
+++ b/src/glsl/glcpp/tests/094-divide-by-zero-short-circuit.c
@@ -0,0 +1,2 @@
+#if 1 || (1 / 0)
+#endif