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

(declare-fun x () String)
(declare-fun y () String)

(assert (= (str.++ x y "aa") (str.++ "aa" y x)))
(assert (= (str.len x) (* 2 (str.len y))))
(assert (> (str.len x) 0))

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