summaryrefslogtreecommitdiff
path: root/test/regress
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress')
-rw-r--r--test/regress/CMakeLists.txt1
-rw-r--r--test/regress/regress2/sygus/pbe_bvurem.sy32
2 files changed, 33 insertions, 0 deletions
diff --git a/test/regress/CMakeLists.txt b/test/regress/CMakeLists.txt
index 2f39bbb59..307906dc3 100644
--- a/test/regress/CMakeLists.txt
+++ b/test/regress/CMakeLists.txt
@@ -1786,6 +1786,7 @@ set(regress_2_tests
regress2/sygus/multi-udiv.sy
regress2/sygus/nia-max-square.sy
regress2/sygus/no-syntax-test-no-si.sy
+ regress2/sygus/pbe_bvurem.sy
regress2/sygus/process-10-vars-2fun.sy
regress2/sygus/process-arg-invariance.sy
regress2/sygus/real-grammar-neg.sy
diff --git a/test/regress/regress2/sygus/pbe_bvurem.sy b/test/regress/regress2/sygus/pbe_bvurem.sy
new file mode 100644
index 000000000..fc715a645
--- /dev/null
+++ b/test/regress/regress2/sygus/pbe_bvurem.sy
@@ -0,0 +1,32 @@
+; EXPECT: unsat
+; COMMAND-LINE: --sygus-out=status
+(set-logic BV)
+(define-sort BV () (_ BitVec 8))
+(synth-fun IC ((s BV) (t BV)) Bool
+ ((Start Bool (
+ true
+ false
+ (ite Start Start Start)
+ (= (bvmul StartBv s) t)
+ ))
+ (StartBv BV (
+ s
+ t
+ #x00
+ #x01
+ #x7E
+ (bvnot StartBv)
+ (bvmul StartBv StartBv)
+ (bvudiv StartBv StartBv)
+ (bvurem StartBv StartBv)
+ (bvand StartBv StartBv)
+ ))
+))
+(constraint (not (IC (_ bv32 8) (_ bv187 8) )))
+(constraint (not (IC (_ bv102 8) (_ bv15 8) )))
+(constraint (not (IC (_ bv92 8) (_ bv85 8) )))
+(constraint (IC (_ bv39 8) (_ bv214 8) ))
+(constraint (IC (_ bv155 8) (_ bv82 8) ))
+(constraint (IC (_ bv53 8) (_ bv98 8) ))
+(constraint (IC (_ bv41 8) (_ bv47 8) ))
+(check-synth)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback