summaryrefslogtreecommitdiff
path: root/test/regress/regress1/strings/string-unsound-sem.smt2
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/regress1/strings/string-unsound-sem.smt2')
-rw-r--r--test/regress/regress1/strings/string-unsound-sem.smt24
1 files changed, 2 insertions, 2 deletions
diff --git a/test/regress/regress1/strings/string-unsound-sem.smt2 b/test/regress/regress1/strings/string-unsound-sem.smt2
index 44591b47b..59c2d4a17 100644
--- a/test/regress/regress1/strings/string-unsound-sem.smt2
+++ b/test/regress/regress1/strings/string-unsound-sem.smt2
@@ -1,4 +1,4 @@
-(set-info :smt-lib-version 2.5)
+(set-info :smt-lib-version 2.6)
(set-logic ALL)
(set-option :strings-exp true)
(set-info :status sat)
@@ -6,7 +6,7 @@
(declare-fun y () String)
(declare-fun z () Int)
(assert (and
-(not (= (str.replace "A" (int.to.str z) x) (str.++ "A" (str.replace "" (int.to.str z) x))))
+(not (= (str.replace "A" (str.from_int z) x) (str.++ "A" (str.replace "" (str.from_int z) x))))
(not (= (str.replace x (str.at x z) "") (str.++ (str.replace (str.++ (str.substr x 0 z) (str.substr x z 1)) (str.substr x z 1) "") (str.substr x (+ 1 z) (str.len x)))))
)
)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback