summaryrefslogtreecommitdiff
path: root/test/regress/regress1/strings
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/regress1/strings')
-rw-r--r--test/regress/regress1/strings/issue6191-replace-all.smt211
1 files changed, 11 insertions, 0 deletions
diff --git a/test/regress/regress1/strings/issue6191-replace-all.smt2 b/test/regress/regress1/strings/issue6191-replace-all.smt2
new file mode 100644
index 000000000..cd4428db0
--- /dev/null
+++ b/test/regress/regress1/strings/issue6191-replace-all.smt2
@@ -0,0 +1,11 @@
+; COMMAND-LINE: --strings-exp --no-strings-lazy-pp
+; EXPECT: sat
+(set-logic ALL)
+(declare-fun x_9 () String)
+(declare-fun literal_19 () String)
+(declare-fun x_20 () String)
+(assert (= literal_19 "\u{3c}\u{64}\u{69}\u{76}"))
+(assert (= x_9 (str.replace_all x_9 x_20 x_9)))
+(assert (= "\u{3c}\u{2" x_20))
+(assert (str.<= "\u{3c}\u{" literal_19))
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback