From 2ff196ccba2ce611fe7320ef775955c291d34dab Mon Sep 17 00:00:00 2001 From: Andrew Reynolds Date: Wed, 10 Mar 2021 09:55:46 -0600 Subject: [PATCH] Add quant elim regression (#6103) Fixes #5658. This was fixed by recent refactoring to quantifier elimination, adding the regression to close the issue. --- test/regress/CMakeLists.txt | 1 + test/regress/regress1/quantifiers/issue5658-qe.smt2 | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 test/regress/regress1/quantifiers/issue5658-qe.smt2 diff --git a/test/regress/CMakeLists.txt b/test/regress/CMakeLists.txt index 8a1136ca4..147019108 100644 --- a/test/regress/CMakeLists.txt +++ b/test/regress/CMakeLists.txt @@ -1773,6 +1773,7 @@ set(regress_1_tests regress1/quantifiers/issue5484b-qe.smt2 regress1/quantifiers/issue5506-qe.smt2 regress1/quantifiers/issue5507-qe.smt2 + regress1/quantifiers/issue5658-qe.smt2 regress1/quantifiers/issue5766-wrong-sel-trigger.smt2 regress1/quantifiers/issue993.smt2 regress1/quantifiers/javafe.ast.StmtVec.009.smt2 diff --git a/test/regress/regress1/quantifiers/issue5658-qe.smt2 b/test/regress/regress1/quantifiers/issue5658-qe.smt2 new file mode 100644 index 000000000..d2e5f7aa3 --- /dev/null +++ b/test/regress/regress1/quantifiers/issue5658-qe.smt2 @@ -0,0 +1,6 @@ +; SCRUBBER: sed 's/(.*)/()/g' +; EXPECT: () +; EXIT: 0 +(set-logic LIA) +(declare-fun a () Int) +(get-qe (exists ((b Int)) (= a 0))) -- 2.30.2