diff --git a/libstdc++-v3/testsuite/20_util/specialized_algorithms/memory_management_tools/destroy_neg.cc b/libstdc++-v3/testsuite/20_util/specialized_algorithms/memory_management_tools/destroy_neg.cc index e114168842e..dfdead42daa 100644 --- a/libstdc++-v3/testsuite/20_util/specialized_algorithms/memory_management_tools/destroy_neg.cc +++ b/libstdc++-v3/testsuite/20_util/specialized_algorithms/memory_management_tools/destroy_neg.cc @@ -47,5 +47,3 @@ test02() } // { dg-error "value type is destructible" "" { target *-*-* } 0 } -// { dg-error "use of deleted function" "" { target c++20 } 0 } -// { dg-error "is private within this context" "" { target c++20 } 0 }