diff options
Diffstat (limited to 'test/regress/regress0/parser/choice.smt2')
-rw-r--r-- | test/regress/regress0/parser/choice.smt2 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/regress/regress0/parser/choice.smt2 b/test/regress/regress0/parser/choice.smt2 new file mode 100644 index 000000000..19763e222 --- /dev/null +++ b/test/regress/regress0/parser/choice.smt2 @@ -0,0 +1,10 @@ +(set-logic ALL) +(set-info :status sat) +(declare-fun a () Int) +(declare-fun b () Int) +(declare-fun c () Int) +(assert (= (choice ((x Int)) (= x a)) 1)) +(assert (= (choice ((x Int)) (= x b)) 2)) +;(assert (let ((x (choice ((x Int)) true))) (and (distinct a b x)(= x c)))) +(check-sat) + |