summaryrefslogtreecommitdiff
path: root/test/regress/regress0/issue1063-overloading-dt-fun.smt2
blob: 9cae2064758a5f677cc6e8c2631d97ed3f12d18a (plain)
1
2
3
4
5
6
7
8
9
10
11
; COMMAND-LINE: --lang=smt2.5
; EXPECT: sat
(set-logic ALL)
(set-info :status sat)
(declare-datatypes () ((Enum (cons (val Int)) (On_Ground) (None))))
(declare-fun cons (Int Int) Int)
(declare-fun cons (Enum) Bool)
(declare-fun cons (Bool) Int)
(assert (cons (cons 0)))
(assert (= (cons (cons true) (cons false)) 4))
(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback