From: Tim King Date: Thu, 17 May 2012 15:33:13 +0000 (+0000) Subject: Adding failing regression for ite type computation. X-Git-Tag: cvc5-1.0.0~8159 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a6f69a821e2d26f8901662193da5ee8dc74b158a;p=cvc5.git Adding failing regression for ite type computation. --- diff --git a/test/regress/regress0/Makefile.am b/test/regress/regress0/Makefile.am index 881664e83..db9b4d07f 100644 --- a/test/regress/regress0/Makefile.am +++ b/test/regress/regress0/Makefile.am @@ -97,7 +97,8 @@ BUG_TESTS = \ bug239.smt \ buggy-ite.smt2 \ bug303.smt2 \ - bug310.cvc + bug310.cvc \ + bug339.smt2 TESTS = $(SMT_TESTS) $(SMT2_TESTS) $(CVC_TESTS) $(BUG_TESTS) diff --git a/test/regress/regress0/bug339.smt2 b/test/regress/regress0/bug339.smt2 new file mode 100644 index 000000000..bb03cf9b1 --- /dev/null +++ b/test/regress/regress0/bug339.smt2 @@ -0,0 +1,15 @@ +(set-logic QF_LRA) +(set-info :status sat) + +(declare-fun x () Real) +(declare-fun P () Bool) + +(assert + (let ((y (ite P 1 x))) + (and (not (= y 1)) + (> y 0) + (<= y 1)))) + +(check-sat) + +(exit)