summaryrefslogtreecommitdiff
path: root/test/regress/regress0/strings/repl-rewrites2.smt2
blob: 42699bc8b907717ba9efa0d55b700875142b0955 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; COMMAND-LINE: --strings-exp
; EXPECT: unsat
(set-logic ALL)
(set-info :status unsat)
(declare-fun x () String)
(declare-fun y () String)
(assert (or
(not (= (str.replace "" "" "c") ""))
(not (= (str.replace (str.++ "abc" y) "b" x) (str.++ "a" x "c" y)))
(not (= (str.replace "" "abc" "de") ""))
(not (= (str.replace "ab" "ab" "de") "de"))
(not (= (str.replace "ab" "" "de") "ab"))
))
(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback