about summary refs log tree commit diff homepage
path: root/test/CXX/StaticDestructor.cpp
diff options
context:
space:
mode:
authorCristian Cadar <c.cadar@imperial.ac.uk>2014-05-16 19:31:29 +0100
committerCristian Cadar <c.cadar@imperial.ac.uk>2014-05-16 19:31:29 +0100
commitc2dec441f3f89916962175f0307b5c33473fa616 (patch)
tree29e7464c6231000eded5d7ba08186a314d92cde5 /test/CXX/StaticDestructor.cpp
parentc9bc016552ab25a3d440c753909b8e1d8c28bd67 (diff)
downloadklee-c2dec441f3f89916962175f0307b5c33473fa616.tar.gz
Changed StaticDestructor.cpp to use uclibc and disable optimizations explicitly.
Diffstat (limited to 'test/CXX/StaticDestructor.cpp')
-rw-r--r--test/CXX/StaticDestructor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CXX/StaticDestructor.cpp b/test/CXX/StaticDestructor.cpp
index 68fb122e..60390c2d 100644
--- a/test/CXX/StaticDestructor.cpp
+++ b/test/CXX/StaticDestructor.cpp
@@ -1,7 +1,7 @@
 // don't optimize this, llvm likes to turn the *p into unreachable
 
 // RUN: %llvmgxx %s -emit-llvm -g -O0 -c -o %t1.bc
-// RUN: %klee --libc=klee --no-output %t1.bc 2> %t1.log
+// RUN: %klee --optimize=false --libc=uclibc --no-output %t1.bc 2> %t1.log
 // RUN: grep ":16: memory error" %t1.log
 
 #include <cassert>
@@ -19,6 +19,6 @@ public:
 
 Test t;
 
-int main() {
+int main(int argc, char** argv) {
   return 0;
 }