about summary refs log tree commit diff homepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/regression/2018-05-05-number-instructions-dumped-states.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/regression/2018-05-05-number-instructions-dumped-states.c b/test/regression/2018-05-05-number-instructions-dumped-states.c
new file mode 100644
index 00000000..5f2af61e
--- /dev/null
+++ b/test/regression/2018-05-05-number-instructions-dumped-states.c
@@ -0,0 +1,9 @@
+// RUN: %llvmgcc %s -emit-llvm -O0 -g -c -o %t1.bc
+// RUN: rm -rf %t.klee-out
+// RUN: %klee -stop-after-n-instructions=1 --output-dir=%t.klee-out %t1.bc 2>&1 | FileCheck %s
+
+// CHECK: KLEE: done: total instructions = 1
+
+#include "klee/klee.h"
+
+int main(int argc, char * argv[]) {}