summaryrefslogtreecommitdiff
path: root/test/regress/regress0/strings/substr001.smt2
blob: c0554c48141276ec692a071c9b032d3c2c27ec51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(set-logic QF_S)
(set-option :strings-exp true)
(set-info :status sat)

(declare-fun x () String)
(declare-fun i1 () Int)
(declare-fun i2 () Int)
(declare-fun i3 () Int)
(declare-fun i4 () Int)

(assert (= "efg" (str.substr x i1 i2) ) )
(assert (= "bef" (str.substr x i3 i4) ) )
(assert (> (str.len x) 5))

(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback