summaryrefslogtreecommitdiff
path: root/test/regress/regress0/sygus/dt-no-syntax.sy
blob: e0f8112ce2406da3e46943d646b86f5cfe934d99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; COMMAND-LINE: --cegqi --no-dump-synth
; EXPECT: unsat
(set-logic LIA)

(declare-datatypes () ((List (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