about summary refs log tree commit diff homepage
path: root/test/regression/2007-08-08-free-zero.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/regression/2007-08-08-free-zero.c')
-rw-r--r--test/regression/2007-08-08-free-zero.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/regression/2007-08-08-free-zero.c b/test/regression/2007-08-08-free-zero.c
new file mode 100644
index 00000000..964889a1
--- /dev/null
+++ b/test/regression/2007-08-08-free-zero.c
@@ -0,0 +1,8 @@
+// RUN: %llvmgcc %s -emit-llvm -O0 -c -o %t1.bc
+// RUN: %klee %t1.bc
+// RUN: ls klee-last | not grep *.err
+
+int main() {
+  free(0);
+  return 0;
+}