diff options
Diffstat (limited to 'test/regress/regress0/strings')
-rw-r--r-- | test/regress/regress0/strings/issue2958.smt2 | 7 | ||||
-rw-r--r-- | test/regress/regress0/strings/stoi-solve.smt2 | 6 |
2 files changed, 7 insertions, 6 deletions
diff --git a/test/regress/regress0/strings/issue2958.smt2 b/test/regress/regress0/strings/issue2958.smt2 new file mode 100644 index 000000000..7ed5ef7f3 --- /dev/null +++ b/test/regress/regress0/strings/issue2958.smt2 @@ -0,0 +1,7 @@ +(set-info :smt-lib-version 2.5) +(set-logic QF_SLIA) +(set-info :status unsat) +(declare-const x String) +(assert (not (str.prefixof "ab" x))) +(assert (str.in.re (str.substr x 0 2) (re.++ (str.to.re "ab") (re.* (str.to.re "dcab"))))) +(check-sat) diff --git a/test/regress/regress0/strings/stoi-solve.smt2 b/test/regress/regress0/strings/stoi-solve.smt2 deleted file mode 100644 index 4fbbdcfc1..000000000 --- a/test/regress/regress0/strings/stoi-solve.smt2 +++ /dev/null @@ -1,6 +0,0 @@ -(set-logic ALL) -(set-info :status sat) -(set-option :strings-exp true) -(declare-fun x () String) -(assert (= (str.to.int x) 12345)) -(check-sat) |