test/regress/cli/regress0/expect/scrub.08.sy
raw| 1 | ; REQUIRES: no-competition |
| 2 | ; COMMAND-LINE: --lang=sygus2 --sygus-si=all --sygus-out=status --no-sygus-repair-const --strict-parsing |
| 3 | ; ERROR-SCRUBBER: grep -o "Symbol 'div' not declared as a variable" |
| 4 | ; EXPECT-ERROR: Symbol 'div' not declared as a variable |
| 5 | ; EXIT: 1 |
| 6 | (set-logic LIA) |
| 7 | (declare-var n Int) |
| 8 | |
| 9 | (synth-fun f ((n Int)) Int) |
| 10 | (constraint (= (div n n) 1)) |
| 11 | (check-synth) |