]> andersk Git - splint.git/blobdiff - test/divzero.c
Added test case for division by zero.
[splint.git] / test / divzero.c
diff --git a/test/divzero.c b/test/divzero.c
new file mode 100644 (file)
index 0000000..3a0ce5d
--- /dev/null
@@ -0,0 +1,6 @@
+void f (void)
+{
+  int x = 3 / 0;
+  double d = 3.0 / 0.0;
+  
+}
This page took 0.031315 seconds and 4 git commands to generate.