diff options
Diffstat (limited to 'test/regress/regress0/parser/as.smt2')
-rw-r--r-- | test/regress/regress0/parser/as.smt2 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/regress/regress0/parser/as.smt2 b/test/regress/regress0/parser/as.smt2 new file mode 100644 index 000000000..2ba689541 --- /dev/null +++ b/test/regress/regress0/parser/as.smt2 @@ -0,0 +1,14 @@ +(set-logic QF_UF) +(set-info :smt-lib-version 2.0) +(set-info :category "crafted") +(set-info :status sat) +(declare-sort I 0) +(declare-fun e0 () I) + +;; below we type cast e0 to its type +;; in other words, this just affirms that e0 has type I +;; previously, this was not handled correctly in the smt2 parser +(assert (= (as e0 I) (as e0 I))) + +(check-sat) +(exit) |