summaryrefslogtreecommitdiff
path: root/test/regress/regress0/sygus/enum-test.sy
blob: cd129385e353672661d46838955edca0b5d683d3 (plain)
1
2
3
4
5
6
7
8
; EXPECT: unsat
; COMMAND-LINE: --cegqi-si --no-dump-synth
(set-logic LIA)
(define-sort D (Enum (a b)))
(define-fun f ((x D)) Int (ite (= x D::a) 3 7))
(synth-fun g () D ((Start D (D::a D::b))))
(constraint (= (f g) 7))
(check-synth)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback