Debian Codegraph @

test/regress/cli/regress1/sygus/fwd-decl-simple.sy

raw
1 ; EXPECT: feasible
2 ; COMMAND-LINE: --sygus-out=status
3 (set-feature :fwd-decls true)
4 (set-logic ALL)
5 (synth-fun c () Int ((Start Int)) ((Start Int (5 6 7))))
6 (synth-fun f ((x Int)) Int
7 ((Start Int))
8 (
9 (Start Int ((+ Start Start) c x))
10 )
11 )
12 (constraint (= (f 3) 8))
13 (constraint (= (f 7) 12))
14 (check-synth)