summaryrefslogtreecommitdiff
path: root/test/regress/regress0
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2021-10-26 12:10:50 -0500
committerGitHub <noreply@github.com>2021-10-26 17:10:50 +0000
commit58e710b299aaf46d480085fb98c77cd3b60de04a (patch)
treeba38689b1f9188f669784712f558be1ba3f630b3 /test/regress/regress0
parentaa09c24adf024eee0a72ba5b5d9119c71e17d2a0 (diff)
Add regressions for fixed issues (#7495)
Fixes #4656. Fixes #5234. These do not occur on master.
Diffstat (limited to 'test/regress/regress0')
-rw-r--r--test/regress/regress0/cores/issue5234-uc-ua.smt212
-rw-r--r--test/regress/regress0/unconstrained/issue4656-bool-term-vars.smt212
2 files changed, 24 insertions, 0 deletions
diff --git a/test/regress/regress0/cores/issue5234-uc-ua.smt2 b/test/regress/regress0/cores/issue5234-uc-ua.smt2
new file mode 100644
index 000000000..ab31ec71f
--- /dev/null
+++ b/test/regress/regress0/cores/issue5234-uc-ua.smt2
@@ -0,0 +1,12 @@
+; EXPECT: unsat
+; EXPECT: ()
+(set-option :incremental true)
+(set-option :check-unsat-cores true)
+(set-option :produce-unsat-assumptions true)
+(set-logic ALL)
+(declare-const a Bool)
+(declare-const b Bool)
+(declare-const c Bool)
+(assert (distinct a b c))
+(check-sat-assuming (c))
+(get-unsat-assumptions)
diff --git a/test/regress/regress0/unconstrained/issue4656-bool-term-vars.smt2 b/test/regress/regress0/unconstrained/issue4656-bool-term-vars.smt2
new file mode 100644
index 000000000..cd6154464
--- /dev/null
+++ b/test/regress/regress0/unconstrained/issue4656-bool-term-vars.smt2
@@ -0,0 +1,12 @@
+(set-logic QF_AUFBVLIA)
+(set-info :status unsat)
+(declare-fun a (Bool) Bool)
+(declare-fun b (Bool) Bool)
+(declare-fun c (Bool) Bool)
+(declare-fun d () Bool)
+(declare-fun e () Bool)
+(declare-fun f () Bool)
+(assert (distinct (a d) (a e)))
+(assert (distinct (b e) (b f)))
+(assert (distinct (c f) (c d)))
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback