diff options
Diffstat (limited to 'test/regress/regress0/push-pop/incremental-subst-bug.cvc.smt2')
-rw-r--r-- | test/regress/regress0/push-pop/incremental-subst-bug.cvc.smt2 | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/regress/regress0/push-pop/incremental-subst-bug.cvc.smt2 b/test/regress/regress0/push-pop/incremental-subst-bug.cvc.smt2 new file mode 100644 index 000000000..dc94e8f94 --- /dev/null +++ b/test/regress/regress0/push-pop/incremental-subst-bug.cvc.smt2 @@ -0,0 +1,23 @@ +; COMMAND-LINE: --incremental +; EXPECT: sat +; EXPECT: unsat +; EXPECT: unsat +; EXPECT: sat +; EXPECT: sat +; EXPECT: sat +; EXPECT: sat +(set-logic ALL) +(declare-sort U 0) +(declare-fun x () U) +(declare-fun y () U) +(check-sat-assuming ( (not (= x y)) )) +(assert (= x y)) +(check-sat-assuming ( (not (= x y)) )) +(declare-fun z () U) +(push 1) +(check-sat-assuming ( (not (= x y)) )) +(check-sat-assuming ( (not (= x z)) )) +(check-sat-assuming ( (not (= z x)) )) +(check-sat-assuming ( (= z x) )) +(pop 1) +(check-sat-assuming ( (= z x) )) |