diff options
Diffstat (limited to 'test/regress')
-rw-r--r-- | test/regress/regress0/quantifiers/Makefile.am | 3 | ||||
-rw-r--r-- | test/regress/regress0/quantifiers/qbv-test-urem-rewrite.smt2 | 10 |
2 files changed, 12 insertions, 1 deletions
diff --git a/test/regress/regress0/quantifiers/Makefile.am b/test/regress/regress0/quantifiers/Makefile.am index a4bd40df5..eb33e2c82 100644 --- a/test/regress/regress0/quantifiers/Makefile.am +++ b/test/regress/regress0/quantifiers/Makefile.am @@ -91,7 +91,8 @@ TESTS = \ psyco-001-bv.smt2 \ bug822.smt2 \ qbv-test-invert-mul.smt2 \ - qbv-simple-2vars-vo.smt2 + qbv-simple-2vars-vo.smt2 \ + qbv-test-urem-rewrite.smt2 # regression can be solved with --finite-model-find --fmf-inst-engine # set3.smt2 diff --git a/test/regress/regress0/quantifiers/qbv-test-urem-rewrite.smt2 b/test/regress/regress0/quantifiers/qbv-test-urem-rewrite.smt2 new file mode 100644 index 000000000..6df69d80b --- /dev/null +++ b/test/regress/regress0/quantifiers/qbv-test-urem-rewrite.smt2 @@ -0,0 +1,10 @@ +; COMMAND-LINE: --cbqi-bv --bv-div-zero-const +; EXPECT: sat +(set-logic BV) +(set-info :status sat) +(declare-fun a () (_ BitVec 4)) +(declare-fun b () (_ BitVec 4)) + +(assert (forall ((x (_ BitVec 4))) (not (= (bvurem x a) b)))) + +(check-sat) |