summaryrefslogtreecommitdiff
path: root/test/regress/regress1/strings/str-rev-simple-s.smt2
blob: 5445a19ead51cde7562e98e9836f07a7a74cb4a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; COMMAND-LINE: --strings-exp
; EXPECT: sat
(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 y) "BC"))
(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback