summaryrefslogtreecommitdiff
path: root/test/regress/regress1/strings/replaceall-len.smt2
blob: 3c0d7e8e5fd8beca0f2ad6e8d51f2eb12c20df78 (plain)
1
2
3
4
5
6
7
8
9
10
(set-info :smt-lib-version 2.6)
(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.replace_all 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