From a6f69a821e2d26f8901662193da5ee8dc74b158a Mon Sep 17 00:00:00 2001 From: Tim King Date: Thu, 17 May 2012 15:33:13 +0000 Subject: [PATCH] Adding failing regression for ite type computation. --- test/regress/regress0/Makefile.am | 3 ++- test/regress/regress0/bug339.smt2 | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 test/regress/regress0/bug339.smt2 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) -- 2.30.2