]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Remove c++20-specific dg-error directives in test
authorJonathan Wakely <jwakely@redhat.com>
Wed, 22 Sep 2021 17:15:24 +0000 (18:15 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 23 Sep 2021 15:07:39 +0000 (16:07 +0100)
I added extra dg-error directives for C++20 to match the extra errors
caused by some of the call stack being constexpr in C++20. Since Jason's
changes to reduce those errors, those dg-error lines no longer match.
This removes them again.

Signed-off-by: Jonathan Wakely <jwakely@redhat.com>
libstdc++-v3/ChangeLog:

* testsuite/20_util/specialized_algorithms/memory_management_tools/destroy_neg.cc:
Remove dg-error lines for C++20-only errors.

libstdc++-v3/testsuite/20_util/specialized_algorithms/memory_management_tools/destroy_neg.cc

index e114168842e4ad05c08b5553eb8b0db2ddfb8aac..dfdead42daae16bf825204a204aadfaafb1a68f5 100644 (file)
@@ -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 }