summaryrefslogtreecommitdiff
path: root/test/regress/regress1/strings/issue1105.smt2
blob: bf5cb7669e96871b83c47aacbc3e5074be46cab8 (plain)
1
2
3
4
5
6
7
8
9
10
11
(set-info :smt-lib-version 2.5)
(set-logic ALL)
(set-option :strings-exp true)
(set-info :status sat)
(declare-datatypes () ((Val
    (Str (str String))
    (Num (num Int)))))

(declare-const var0 Val)
(assert (=> (is-Str var0) (distinct (str.to.int (str var0)) (- 1))))
(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback