diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2018-05-27 10:26:43 +0200 |
---|---|---|
committer | MartinNowack <martin.nowack@gmail.com> | 2018-10-26 13:31:07 +0100 |
commit | 0a7963e0dd119285b9730473ba417d181583ad0a (patch) | |
tree | 523088dae85f3cb34cd88ebc9213c8bc66d27d15 /test/Solver/Z3ConstantArray.c | |
parent | 1f1569510990a3330b6eb8e3499198294964a88e (diff) | |
download | klee-0a7963e0dd119285b9730473ba417d181583ad0a.tar.gz |
llvm5: test, add -disable-O0-optnone to -O0
Otherwise optimizations done in klee won't have any effect. Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Diffstat (limited to 'test/Solver/Z3ConstantArray.c')
-rw-r--r-- | test/Solver/Z3ConstantArray.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Solver/Z3ConstantArray.c b/test/Solver/Z3ConstantArray.c index 482679e9..041e675d 100644 --- a/test/Solver/Z3ConstantArray.c +++ b/test/Solver/Z3ConstantArray.c @@ -1,5 +1,5 @@ // REQUIRES: z3 -// RUN: %llvmgcc %s -emit-llvm -O0 -c -o %t1.bc +// RUN: %llvmgcc %s -emit-llvm %O0opt -c -o %t1.bc // RUN: rm -rf %t.klee-out // RUN: %klee --output-dir=%t.klee-out -solver-backend=z3 -write-cvcs -write-smt2s -debug-z3-dump-queries=%t.smt2 %t1.bc // RUN: cat %t.klee-out/test000001.smt2 | FileCheck --check-prefix=TEST-CASE %s |