about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorCristian Cadar <cristic@cs.stanford.edu>2009-07-10 07:34:54 +0000
committerCristian Cadar <cristic@cs.stanford.edu>2009-07-10 07:34:54 +0000
commit4d24113c9757cbe83d4e80e22c3d91c9246aa140 (patch)
tree1562bb9d7785461e9c693ad4a6ffe95b5a7e8a54
parent53b7af62613624ab966934862b160a0b3ed3826d (diff)
downloadklee-4d24113c9757cbe83d4e80e22c3d91c9246aa140.tar.gz
Small test for non-boolean Not.
git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@75241 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Expr/Evaluate.pc5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Expr/Evaluate.pc b/test/Expr/Evaluate.pc
index 418a712d..43134475 100644
--- a/test/Expr/Evaluate.pc
+++ b/test/Expr/Evaluate.pc
@@ -21,3 +21,8 @@ array hello[4] : w32 -> w8 = [ 1 2 3 5 ]
 (query [] (Eq (Add w8 (Read w8 0 hello)
                       (Read w8 3 hello))
               6))
+
+# RUN: grep "Query 3:	VALID" %t.log
+# Query 2
+(query [] (Eq (Not w8 (Read w8 0 arr1))
+              (Xor w8 (Read w8 0 arr1) 0xff)))