test/regress/cli/regress1/strings/issue12147-idof-same.smt2
raw| 1 | ; EXPECT: unsat |
| 2 | (set-logic ALL) |
| 3 | (set-info :status unsat) |
| 4 | (set-option :produce-models true) |
| 5 | |
| 6 | (declare-fun |A| () String) |
| 7 | (declare-fun |B| () String) |
| 8 | (declare-fun |c| () String) |
| 9 | |
| 10 | (assert (not (=> |
| 11 | (not (= (str.indexof A c 0) (- 1))) |
| 12 | (= (str.indexof (str.++ A B) c 0) (str.indexof A c 0))))) |
| 13 | |
| 14 | (check-sat) |