test/regress/cli/regress0/sygus/declare-var-grammar-err.sy
raw| 1 | ; DISABLE-TESTER: dump |
| 2 | ; REQUIRES: no-competition |
| 3 | ; EXPECT-ERROR: (error "ERROR: cannot process term x with free variables in grammar of c") |
| 4 | ; EXIT: 1 |
| 5 | (set-feature :fwd-decls true) |
| 6 | (set-logic ALL) |
| 7 | (declare-var x Int) |
| 8 | (synth-fun c () Int ((Start Int)) ((Start Int (0 1 x)))) |
| 9 | (check-synth) |