test/regress/cli/regress0/push-pop/test.01.cvc.smt2
raw| 1 | ; COMMAND-LINE: --incremental |
| 2 | ; EXPECT: sat |
| 3 | ; EXPECT: sat |
| 4 | ; EXPECT: sat |
| 5 | ; EXPECT: sat |
| 6 | (set-logic ALL) |
| 7 | (declare-fun x () Bool) |
| 8 | (declare-fun y () Bool) |
| 9 | (assert (or x y)) |
| 10 | (check-sat) |
| 11 | (push 1) |
| 12 | (assert (not x)) |
| 13 | (check-sat) |
| 14 | (pop 1) |
| 15 | (push 1) |
| 16 | (assert (not y)) |
| 17 | (check-sat) |
| 18 | (pop 1) |
| 19 | (check-sat) |