test/regress/cli/regress1/strings/ilc-l-nt.smt2
raw| 1 | (set-logic ALL) |
| 2 | (set-info :status unsat) |
| 3 | |
| 4 | |
| 5 | (declare-fun s () String) |
| 6 | (assert (or (= s "Id like cookies.") (= s "Id not like cookies."))) |
| 7 | |
| 8 | (declare-fun target () String) |
| 9 | (assert (or (= target "l") (= target "m"))) |
| 10 | |
| 11 | (declare-fun location () Int) |
| 12 | (assert (= (* 2 location) (str.indexof s target 0))) |
| 13 | |
| 14 | (check-sat) |