diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2018-04-25 09:28:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-25 09:28:22 -0500 |
commit | d7bc8b2759d7b657c52d379db62cf049861be579 (patch) | |
tree | c941abf5f1833f95c0ba45834bd2750359db7cd9 /test | |
parent | d59314199fc72fa299ed536937a2184c54f0fc98 (diff) |
Fix issue with multi-triggers that include variable triggers (#1810)
Diffstat (limited to 'test')
-rw-r--r-- | test/regress/Makefile.tests | 1 | ||||
-rw-r--r-- | test/regress/regress0/quantifiers/issue1805.smt2 | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/test/regress/Makefile.tests b/test/regress/Makefile.tests index 88ea4ebd5..e8149316c 100644 --- a/test/regress/Makefile.tests +++ b/test/regress/Makefile.tests @@ -593,6 +593,7 @@ REG0_TESTS = \ regress0/quantifiers/ex3.smt2 \ regress0/quantifiers/ex6.smt2 \ regress0/quantifiers/floor.smt2 \ + regress0/quantifiers/issue1805.smt2 \ regress0/quantifiers/is-even-pred.smt2 \ regress0/quantifiers/is-int.smt2 \ regress0/quantifiers/lra-triv-gn.smt2 \ diff --git a/test/regress/regress0/quantifiers/issue1805.smt2 b/test/regress/regress0/quantifiers/issue1805.smt2 new file mode 100644 index 000000000..929522dec --- /dev/null +++ b/test/regress/regress0/quantifiers/issue1805.smt2 @@ -0,0 +1,8 @@ +(set-logic AUFBVDTNIRA) +(set-info :status unsat) +(declare-fun abs1 (Int) Int) +(assert + (forall ((x Int) (y Int)) + (! (= (<= (abs1 x) y) (and (<= (- y) x) (<= x y))) :pattern ((abs1 x) y) ))) +(assert (< (abs1 (- 3)) 3)) +(check-sat) |