about summary refs log tree commit diff homepage
path: root/test/regression/2016-08-12-empty-file.c
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@gmail.com>2018-05-27 10:26:43 +0200
committerMartinNowack <martin.nowack@gmail.com>2018-10-26 13:31:07 +0100
commit0a7963e0dd119285b9730473ba417d181583ad0a (patch)
tree523088dae85f3cb34cd88ebc9213c8bc66d27d15 /test/regression/2016-08-12-empty-file.c
parent1f1569510990a3330b6eb8e3499198294964a88e (diff)
downloadklee-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/regression/2016-08-12-empty-file.c')
-rw-r--r--test/regression/2016-08-12-empty-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/regression/2016-08-12-empty-file.c b/test/regression/2016-08-12-empty-file.c
index 56695fe1..8165f924 100644
--- a/test/regression/2016-08-12-empty-file.c
+++ b/test/regression/2016-08-12-empty-file.c
@@ -1,5 +1,5 @@
 // REQUIRES: posix-runtime
-// RUN: %llvmgcc %s -emit-llvm -g -O0 -c -o %t.bc
+// RUN: %llvmgcc %s -emit-llvm -g %O0opt -c -o %t.bc
 // RUN: rm -rf %t.klee-out
 // RUN: not %klee --output-dir=%t.klee-out %t.bc >%t1.log 2>&1
 // RUN: FileCheck -input-file=%t1.log -check-prefix=CHECK-MAIN-NOT-FOUND %s