about summary refs log tree commit diff homepage
path: root/test/Solver/FastCexSolver.kquery
diff options
context:
space:
mode:
Diffstat (limited to 'test/Solver/FastCexSolver.kquery')
-rw-r--r--test/Solver/FastCexSolver.kquery10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Solver/FastCexSolver.kquery b/test/Solver/FastCexSolver.kquery
new file mode 100644
index 00000000..b3ec63e3
--- /dev/null
+++ b/test/Solver/FastCexSolver.kquery
@@ -0,0 +1,10 @@
+# RUN: %kleaver --use-fast-cex-solver --solver-backend=dummy %s > %t
+# RUN: not grep FAIL %t
+
+array arr1[4] : w32 -> w8 = symbolic
+(query [] (Not (Eq 4096 (ReadLSB w32 0 arr1))))
+
+array A-data[2] : w32 -> w8 = symbolic
+(query [(Ule (Add w8 208 N0:(Read w8 0 A-data))
+             9)]
+       (Eq 52 N0))