diff options
Diffstat (limited to 'test/regress/regress1')
-rw-r--r-- | test/regress/regress1/quantifiers/Makefile.am | 3 | ||||
-rw-r--r-- | test/regress/regress1/quantifiers/arith-rec-fun.smt2 | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/test/regress/regress1/quantifiers/Makefile.am b/test/regress/regress1/quantifiers/Makefile.am index 7d3da3654..159f2e088 100644 --- a/test/regress/regress1/quantifiers/Makefile.am +++ b/test/regress/regress1/quantifiers/Makefile.am @@ -79,7 +79,8 @@ TESTS = \ RND-small.smt2 \ RNDPRE_4_1-dd-nqe.smt2 \ set8.smt2 \ - z3.620661-no-fv-trigger.smt2 + z3.620661-no-fv-trigger.smt2 \ + arith-rec-fun.smt2 # removed because they take more than 20s # javafe.ast.ArrayInit.35.smt2 diff --git a/test/regress/regress1/quantifiers/arith-rec-fun.smt2 b/test/regress/regress1/quantifiers/arith-rec-fun.smt2 new file mode 100644 index 000000000..8133db8dd --- /dev/null +++ b/test/regress/regress1/quantifiers/arith-rec-fun.smt2 @@ -0,0 +1,6 @@ +(set-logic UFLIA) +(set-info :status unsat) +(define-fun-rec sumr ((x Int)) Int + (+ x (ite (> x 0) (sumr (- x 1)) 0))) +(assert (= (sumr 2) 2)) +(check-sat) |