diff options
Diffstat (limited to 'test/regress/regress1')
-rw-r--r-- | test/regress/regress1/strings/issue3217.smt2 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/regress/regress1/strings/issue3217.smt2 b/test/regress/regress1/strings/issue3217.smt2 new file mode 100644 index 000000000..4fd35999d --- /dev/null +++ b/test/regress/regress1/strings/issue3217.smt2 @@ -0,0 +1,13 @@ +(set-logic ALL_SUPPORTED) +(set-option :strings-exp true) +(set-info :status unsat) +(declare-fun a () String) +(declare-fun b () String) +(declare-fun c () String) +(declare-fun d () String) +(assert + (or + (not (= ( str.suffixof "B" ( str.replace "A" b "B")) (= ( str.substr a 0 (str.len b)) "A"))) + (not (= (not (= c "A")) ( str.suffixof "A" ( str.replace "A" c "B")))))) +(assert (= a (str.++ (str.++ b "") d))) +(check-sat) |