summaryrefslogtreecommitdiff
path: root/test/regress/regress1/strings/issue6545-extr.smt2
blob: 958f3b1ee05918f3fbe0d5bf23d1d1940977afca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
; COMMAND-LINE: --ext-rew-prep --ext-rew-prep-agg
; EXPECT: sat
(set-logic ALL)
(declare-fun a () String)
(assert
 (str.contains ""
  (str.replace_all ""
   (str.substr a 1
    (str.to_int
     (str.substr
      (str.substr a 0
       (ite (= (str.len (str.substr a 2 1)) 1)
        (ite (< (str.len a) 0)
         (ite (= (str.len (str.substr (str.substr a 2 1) (str.len (str.substr a 1 1)) 2)) 1) 1 0)
         (- 1))
        0))
      0 2)))
   a)))
(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback