Add regression for cvc5-projects issue 490 (#8317)
authormudathirmahgoub <mudathirmahgoub@gmail.com>
Wed, 16 Mar 2022 04:49:36 +0000 (23:49 -0500)
committerGitHub <noreply@github.com>
Wed, 16 Mar 2022 04:49:36 +0000 (04:49 +0000)
Fixes cvc5/cvc5-projects#490.

test/regress/CMakeLists.txt
test/regress/regress1/bags/murxla6.smt2 [new file with mode: 0644]

index eaeaebdbcc5ab8652659db92112d5671687ea68e..11302b9c3288b42e9538b85718060cc871f7a257 100644 (file)
@@ -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 (file)
index 0000000..74e315f
--- /dev/null
@@ -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)