test/regress/cli/regress1/sygus/fwd-decl-2.sy
raw| 1 | ; EXPECT: feasible |
| 2 | ; COMMAND-LINE: --sygus-out=status |
| 3 | (set-logic ALL) |
| 4 | (synth-fun g ((x Int) (y Int)) Int |
| 5 | ((Start Int)) |
| 6 | ( |
| 7 | (Start Int ((- Start Start) x y)) |
| 8 | ) |
| 9 | ) |
| 10 | (synth-fun f ((x Int) (y Int)) Int |
| 11 | ((Start Int)) |
| 12 | ( |
| 13 | (Start Int ((g x y) (+ Start Start) x y)) |
| 14 | ) |
| 15 | ) |
| 16 | (constraint (= (f 3 4) 1)) |
| 17 | (constraint (= (f 2 7) 5)) |
| 18 | (check-synth) |