summaryrefslogtreecommitdiff
path: root/test/regress/regress0
diff options
context:
space:
mode:
authorAndres Noetzli <andres.noetzli@gmail.com>2020-03-11 11:57:22 -0700
committerGitHub <noreply@github.com>2020-03-11 13:57:22 -0500
commit05dc596e5b9ef9d4c45e2fa92a56ef1ec2aede76 (patch)
tree0076981a2f8caba321017c5a7a02e3ed81ffe72e /test/regress/regress0
parent8a56e62da0a8940f0ae1ee9575398e5f21660097 (diff)
reset-assertions: Update TheoryEngine's PropEngine* (#4032)
Fixes #4028. TheoryEngine's pointer was not updated to the new PropEngine when resetting assertions. This commit fixes that. As far as I can tell, this was the only class storing a PropEngine* that isn't owned by PropEngine, so we should hopefully not have other similar issues.
Diffstat (limited to 'test/regress/regress0')
-rw-r--r--test/regress/regress0/smtlib/issue4028.smt29
1 files changed, 9 insertions, 0 deletions
diff --git a/test/regress/regress0/smtlib/issue4028.smt2 b/test/regress/regress0/smtlib/issue4028.smt2
new file mode 100644
index 000000000..3d2f8b52b
--- /dev/null
+++ b/test/regress/regress0/smtlib/issue4028.smt2
@@ -0,0 +1,9 @@
+; EXPECT: sat
+; EXPECT: sat
+(set-logic ALL)
+(set-option :incremental true)
+(push 3)
+(check-sat)
+(reset-assertions)
+(push 4)
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback