summaryrefslogtreecommitdiff
path: root/test/regress/regress1/sygus/extract.sy
blob: fef48f364a8c35c5c045c0715643d379ffb730b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
; EXPECT: unsat
; COMMAND-LINE: --lang=sygus2 --sygus-out=status

(set-logic ALL)
(declare-datatype Ex ((Ex2 (ex Int))))

(synth-fun ident ((x1 Ex)) Int
	((Start Int) (ntInt Int) (ntEx Ex))
	(
		(Start Int (ntInt))
		(ntInt Int
			(
				(ex ntEx)
			)
		)
		(ntEx Ex ( x1 ))
	)
)
(constraint (= (ident (Ex2 1)) 1))
(check-synth)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback