summaryrefslogtreecommitdiff
path: root/test/regress/regress0/strings/leadingzero001.smt2
blob: 09fd80a7b7e6b757f372094b367b271ea47be057 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
(set-info :smt-lib-version 2.5)
(set-logic QF_S)
(set-option :strings-exp true)
(set-info :status sat)

(declare-fun Y () String)

(assert (= Y "0001"))
;(assert (= (str.to.int Y) (- 1)))
(assert (= (str.to.int Y) 1))

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