summaryrefslogtreecommitdiff
path: root/test/regress
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-04-25 09:28:22 -0500
committerGitHub <noreply@github.com>2018-04-25 09:28:22 -0500
commitd7bc8b2759d7b657c52d379db62cf049861be579 (patch)
treec941abf5f1833f95c0ba45834bd2750359db7cd9 /test/regress
parentd59314199fc72fa299ed536937a2184c54f0fc98 (diff)
Fix issue with multi-triggers that include variable triggers (#1810)
Diffstat (limited to 'test/regress')
-rw-r--r--test/regress/Makefile.tests1
-rw-r--r--test/regress/regress0/quantifiers/issue1805.smt28
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)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback