summaryrefslogtreecommitdiff
path: root/test/regress/regress0/strings/replaceall-eval.smt2
blob: f2edfe3fbeb0da44c100719d0466e0c3ad14a1c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
; COMMAND-LINE: --lang=smt2.6
; EXPECT: sat
(set-logic ALL)
(set-info :status sat)
(declare-fun x () String)
(declare-fun y () String)

(assert (= x (str.replace_all "AABAABBC" "B" "def")))
(assert (= y (str.replace_all "AABAABBC" "AB" "BA")))

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