test/regress/cli/regress0/sygus/sygus-no-incremental-err.sy
raw| 1 | ; DISABLE-TESTER: dump |
| 2 | ; REQUIRES: no-competition |
| 3 | ; COMMAND-LINE: --sygus-out=status |
| 4 | ; EXPECT: feasible |
| 5 | ; EXPECT: (error "cannot make multiple check synthesis solution calls unless incremental solving is enabled (try --incremental)") |
| 6 | ; EXIT: 1 |
| 7 | (set-logic LIA) |
| 8 | (synth-fun f ((x Int)) Int) |
| 9 | (check-synth) |
| 10 | (check-synth) |
| 11 |