summaryrefslogtreecommitdiff
path: root/test/regress/regress0/strings/replace-const.smt2
blob: a7f225e33b1c3c5b28e0360093ed917449495733 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
(set-info :smt-lib-version 2.5)
(set-logic ALL)
(set-info :status sat)
(declare-fun x () String)
(declare-fun y () String)
(declare-fun z () String)

(assert (= x (str.replace "AA" "AA" "def")))
(assert (= y (str.replace "BAA" "B" "def")))
(assert (= z (str.replace "AAB" "B" "def")))

(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback