summaryrefslogtreecommitdiff
path: root/test/regress/regress1/strings/replaceall-replace.smt2
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/regress1/strings/replaceall-replace.smt2')
-rw-r--r--test/regress/regress1/strings/replaceall-replace.smt213
1 files changed, 13 insertions, 0 deletions
diff --git a/test/regress/regress1/strings/replaceall-replace.smt2 b/test/regress/regress1/strings/replaceall-replace.smt2
new file mode 100644
index 000000000..5bf5b5b16
--- /dev/null
+++ b/test/regress/regress1/strings/replaceall-replace.smt2
@@ -0,0 +1,13 @@
+(set-info :smt-lib-version 2.5)
+(set-logic ALL)
+(set-info :status sat)
+(set-option :strings-exp true)
+(set-option :strings-fmf true)
+(set-option :produce-models true)
+(declare-fun x () String)
+(declare-fun y () String)
+(declare-fun z () String)
+(assert (not (= x "")))
+(assert (not (= y "")))
+(assert (not (= (str.replace x y z) (str.replaceall x y z))))
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback