summaryrefslogtreecommitdiff
path: root/test/regress/regress0/strings/loop005.smt2
blob: ec294b9bbe9decefdb2c67037aaf006ec711452d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
; COMMAND-LINE: --no-check-models
; EXPECT: sat
; EXIT: 10
;
(set-logic ALL_SUPPORTED)
(set-info :status sat)

(declare-fun x () String)
(declare-fun y () String)
(declare-fun z () String)
(declare-fun w () String)
(declare-fun w1 () String)
(declare-fun w2 () String)

(assert (= (str.++ x y z) (str.++ x z y)))
(assert (= (str.++ x w z) (str.++ x z w)))
(assert (not (= y w)))
(assert (> (str.len z) 0))

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