summaryrefslogtreecommitdiff
path: root/test/regress/regress0/sygus/dt-no-syntax.sy
blob: e33edf36cc10137d6e2ff5d84583fab1050185c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; COMMAND-LINE: --lang=sygus2 --sygus-out=status
; EXPECT: unsat
(set-logic LIA)

(declare-datatypes ((List 0)) (((cons (head Int) (tail List)) (nil))))

(synth-fun f ((x Int)) List)

(declare-var x Int)

(constraint (= (f x) (cons (+ x 1) nil)))
(check-synth)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback