diff options
Diffstat (limited to 'test/Solver/NoZ3.c')
-rw-r--r-- | test/Solver/NoZ3.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Solver/NoZ3.c b/test/Solver/NoZ3.c new file mode 100644 index 00000000..6e8d4479 --- /dev/null +++ b/test/Solver/NoZ3.c @@ -0,0 +1,10 @@ +// REQUIRES: not-z3 +// RUN: %clang %s -emit-llvm %O0opt -c -o %t1.bc +// RUN: rm -rf %t.klee-out +// RUN: not %klee --output-dir=%t.klee-out --solver-backend=z3 %t1.bc 2>&1 | FileCheck %s +// CHECK: Not compiled with Z3 support +// CHECK: ERROR: Failed to create core solver + +int main(int argc, char **argv) { + return 0; +} |