summaryrefslogtreecommitdiff
path: root/test/regress/regress1/strings/replaceall-len.smt2
blob: 448d8e98ff309db6b79c43de3546dde02294b117 (plain)
1
2
3
4
5
6
7
8
9
10
(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)
(assert (= (str.len (str.replaceall x "B" "CC")) (+ (str.len x) 2)))
(assert (> (str.len x) 2))
(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback