glcpp: Add division by zero test cases.
authorVinson Lee <vlee@vmware.com>
Tue, 4 Jan 2011 21:18:19 +0000 (13:18 -0800)
committerVinson Lee <vlee@vmware.com>
Tue, 4 Jan 2011 21:18:19 +0000 (13:18 -0800)
src/glsl/glcpp/tests/093-divide-by-zero.c [new file with mode: 0644]
src/glsl/glcpp/tests/094-divide-by-zero-short-circuit.c [new file with mode: 0644]

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 (file)
index 0000000..bf65d4f
--- /dev/null
@@ -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 (file)
index 0000000..a9c6f36
--- /dev/null
@@ -0,0 +1,2 @@
+#if 1 || (1 / 0)
+#endif