Debian Codegraph @

test/regress/cli/regress1/strings/idof-nconst-index.smt2

raw
1 (set-logic ALL)
2
3 (set-info :status sat)
4 (declare-fun s () String)
5 (assert (str.contains s "Hello and goodbye!"))
6 (declare-fun x () Int)
7 (assert (<= (str.len s) x))
8 (assert (not (= (str.indexof s "goodbye" (- x 30)) (- 1))))
9 (check-sat)