test/regress/cli/regress0/sygus/no-logic.sy
raw| 1 | ; REQUIRES: no-competition |
| 2 | ; COMMAND-LINE: --sygus-out=status --lang=sygus2 |
| 3 | ; ERROR-SCRUBBER: grep -o "No set-logic command was given before this point" |
| 4 | ; EXPECT-ERROR: No set-logic command was given before this point |
| 5 | ; EXPECT: feasible |
| 6 | (synth-fun f ((x Int)) Int |
| 7 | ((Start Int)) |
| 8 | ( |
| 9 | (Start Int (x)) |
| 10 | ) |
| 11 | ) |
| 12 | |
| 13 | (check-synth) |