summaryrefslogtreecommitdiff
path: root/test/regress/regress0/strings/str-rev-simple.smt2
blob: 00011681cbfb0edf709ded5fef6647b89f065aad (plain)
1
2
3
4
5
6
7
8
9
10
11
(set-logic ALL)
(set-info :status sat)
(declare-fun x () String)
(declare-fun y () String)
(declare-fun z () String)
(assert (= (str.rev "ABC") "CBA"))
(assert (= (str.rev "") ""))
(assert (= (str.rev "A") x))
(assert (= (str.rev (str.++ x y)) "BCA"))
(assert (= (str.rev "BC") y))
(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback