summaryrefslogtreecommitdiff
path: root/test/regress/regress1/strings/idof-nconst-index.smt2
blob: 954d446d202aead2549a61e1c2a85bacb944090a (plain)
1
2
3
4
5
6
7
8
9
(set-logic ALL)
(set-option :strings-exp true)
(set-info :status sat)
(declare-fun s () String)
(assert (str.contains s "Hello and goodbye!"))
(declare-fun x () Int)
(assert (<= (str.len s) x))
(assert (not (= (str.indexof s "goodbye" (- x 30)) (- 1))))
(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback