summaryrefslogtreecommitdiff
path: root/test/regress/regress0/sygus/dt-no-syntax.sy
blob: f4de9b055e6ffaaeefdc22b6a13700b60c127d61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; COMMAND-LINE: --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