| 1 |
; COMMAND-LINE: --lang=smt2.6 |
| 2 |
; EXPECT: sat |
| 3 |
(set-logic ALL) |
| 4 |
(set-info :status sat) |
| 5 |
(declare-fun x () String) |
| 6 |
(declare-fun y () String) |
| 7 |
|
| 8 |
(assert (= x (str.replace_all "AABAABBC" "B" "def"))) |
| 9 |
(assert (= y (str.replace_all "AABAABBC" "AB" "BA"))) |
| 10 |
|
| 11 |
(check-sat) |