test/regress/cli/regress0/parser/as.smt2
raw| 1 | (set-logic QF_UF) |
| 2 | (set-info :smt-lib-version 2.6) |
| 3 | (set-info :category "crafted") |
| 4 | (set-info :status sat) |
| 5 | (declare-sort I 0) |
| 6 | (declare-fun e0 () I) |
| 7 | |
| 8 | ;; below we type cast e0 to its type |
| 9 | ;; in other words, this just affirms that e0 has type I |
| 10 | ;; previously, this was not handled correctly in the smt2 parser |
| 11 | (assert (= (as e0 I) (as e0 I))) |
| 12 | |
| 13 | (check-sat) |
| 14 | (exit) |