diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-03-10 10:00:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-10 10:00:07 -0500 |
commit | f57c7cb845c7d1f8730e1b3ecfa4d1c030b980ac (patch) | |
tree | 770ae2193e6f536f94e2f8a55ec9c360013c9db7 /test/regress/regress0/push-pop | |
parent | e2758b664c43de299d0ba80537f09ccdda026119 (diff) |
Fix real as int for incremental (#3979)
Fixes #3956 and fixes #3969.
Diffstat (limited to 'test/regress/regress0/push-pop')
-rw-r--r-- | test/regress/regress0/push-pop/real-as-int-incremental.smt2 | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/regress/regress0/push-pop/real-as-int-incremental.smt2 b/test/regress/regress0/push-pop/real-as-int-incremental.smt2 new file mode 100644 index 000000000..81af8c4e7 --- /dev/null +++ b/test/regress/regress0/push-pop/real-as-int-incremental.smt2 @@ -0,0 +1,24 @@ +; COMMAND-LINE: --incremental --solve-real-as-int +; EXPECT: sat +; EXPECT: sat +; EXPECT: sat +(set-logic ALL) +(declare-fun x () Real) +(declare-fun y () Real) + +(assert (> x y)) +(assert (> x 500.5)) + +(check-sat) + +(push 1) +(declare-fun z () Real) +(assert (> z x)) +(check-sat) +(pop 1) + +(push 1) +(declare-fun w () Real) +(assert (> w x)) +(check-sat) +(pop 1) |