summaryrefslogtreecommitdiff
path: root/test/regress/regress1
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2021-04-01 15:34:46 -0500
committerGitHub <noreply@github.com>2021-04-01 20:34:46 +0000
commit78bfaf2c35fa3b4c7ff35b0b9a5fd0c8c7c5a922 (patch)
treee204ae17b76a64f0e5627b7e82727196457b1779 /test/regress/regress1
parenta5e08f68afc53b181e9558d97495d50c53b11f48 (diff)
Add regression for issue 6191 (#6264)
Diffstat (limited to 'test/regress/regress1')
-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