From 403b9b055c027322012c7ba484d027929e1055ca Mon Sep 17 00:00:00 2001 From: mudathirmahgoub Date: Tue, 15 Mar 2022 23:49:36 -0500 Subject: [PATCH] Add regression for cvc5-projects issue 490 (#8317) Fixes cvc5/cvc5-projects#490. --- test/regress/CMakeLists.txt | 1 + test/regress/regress1/bags/murxla6.smt2 | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 test/regress/regress1/bags/murxla6.smt2 diff --git a/test/regress/CMakeLists.txt b/test/regress/CMakeLists.txt index eaeaebdbc..11302b9c3 100644 --- a/test/regress/CMakeLists.txt +++ b/test/regress/CMakeLists.txt @@ -1766,6 +1766,7 @@ set(regress_1_tests regress1/bags/murxla3.smt2 regress1/bags/murxla4.smt2 regress1/bags/murxla5.smt2 + regress1/bags/murxla6.smt2 regress1/bags/product1.smt2 regress1/bags/product2.smt2 regress1/bags/product3.smt2 diff --git a/test/regress/regress1/bags/murxla6.smt2 b/test/regress/regress1/bags/murxla6.smt2 new file mode 100644 index 000000000..74e315f29 --- /dev/null +++ b/test/regress/regress1/bags/murxla6.smt2 @@ -0,0 +1,6 @@ +(set-logic ALL) +(set-info :status unsat) +(declare-const x (Bag Int)) +(assert (distinct (bag.union_disjoint x x) (as bag.empty (Bag Int)))) +(assert (= 0 (bag.card x))) +(check-sat) -- 2.30.2