summaryrefslogtreecommitdiff
path: root/test/regress/regress1/strings/repl-empty-sem.smt2
blob: 56d4f1b86fd5afea3934ca3a3189844c2b25a307 (plain)
1
2
3
4
5
6
7
8
9
10
11
; COMMAND-LINE: --strings-exp
; EXPECT: sat
(set-logic ALL)
(set-info :status sat)
(declare-fun x () String)
(declare-fun z () String)
(assert (= (str.len z) 0))
(assert (= (str.replace "ab" z "c") x))
(declare-fun y () String)
(assert (= x (str.++ "c" y)))
(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback