summaryrefslogtreecommitdiff
path: root/test/regress/regress0/strings/ilc-like.smt2
blob: 6c7b0b5016dc28e0bec2d1f6312322f41949eab1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(set-logic ALL)
(set-info :status sat)
(set-option :strings-exp true)
 
(declare-fun s () String)
(assert (= s "I like cookies."))
 
(declare-fun target () String)
(assert (= target "like"))
 
(declare-fun location () Int)
(assert (= location (str.indexof s target 0)))
 
(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback