test/regress/cli/regress0/parser/issue9665.smt2
raw| 1 | ; DISABLE-TESTER: dump |
| 2 | ; SCRUBBER: grep -o '(error "Parse Error:' |
| 3 | ; EXPECT: (error "Parse Error: |
| 4 | ; EXIT: 1 |
| 5 | (set-logic ALL) |
| 6 | (define-sort NaturalNumber () Int) |
| 7 | (declare-const n NaturalNumber) |
| 8 | (assert (and |
| 9 | (< (* n (select (as const (Array Int Int)) 0)) 500) ;upper limit condition |
| 10 | ;n is odd |
| 11 | (or (= (mod n 2) 0) (= (mod n 7) 0)) |
| 12 | )) |
| 13 | (check-sat) |
| 14 | (exit) |