From: Vinson Lee Date: Tue, 4 Jan 2011 21:18:19 +0000 (-0800) Subject: glcpp: Add division by zero test cases. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6530944b502a0f35b305ee35c1c6f1e32a887721;p=mesa.git glcpp: Add division by zero test cases. --- diff --git a/src/glsl/glcpp/tests/093-divide-by-zero.c b/src/glsl/glcpp/tests/093-divide-by-zero.c new file mode 100644 index 00000000000..bf65d4f5271 --- /dev/null +++ b/src/glsl/glcpp/tests/093-divide-by-zero.c @@ -0,0 +1,2 @@ +#if (1 / 0) +#endif 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