summaryrefslogtreecommitdiff
path: root/test/regress/regress0/strings/model-code-point.smt2
blob: 1200ae704aa0fd4fa3e39288d2bb9e117a0a0085 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; COMMAND-LINE: --lang=smt2.6.1 --produce-models
; EXPECT: sat
; EXPECT: ((x "\u{a}"))
; EXPECT: ((y "\u{7f}"))
(set-logic ALL)
(set-info :status sat)
(declare-fun x () String)
(declare-fun y () String)
(assert (= (str.to_code x) 10))
(assert (= (str.to_code y) 127))
(check-sat)
(get-value (x))
(get-value (y))
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback