aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-12-09 22:14:57 +0000
committerJonathan Wakely <jwakely@redhat.com>2021-12-09 23:18:24 +0000
commit9042302ef06dc8484ee188ebd6c4164ba67d347d (patch)
treed27390880735e5011cbfd03e586dad7f19421425
parenta8e02a00a0fcac42657c8ef7921566e42db8ef49 (diff)
downloadgcc-9042302ef06dc8484ee188ebd6c4164ba67d347d.zip
gcc-9042302ef06dc8484ee188ebd6c4164ba67d347d.tar.gz
gcc-9042302ef06dc8484ee188ebd6c4164ba67d347d.tar.bz2
libstdc++: Remove bogus dg-error for effective-target c++20
This test no longer has additional errors for C++20 mode, so remove the dg-error that is now failing, and the unnecessary dg-prune-output. libstdc++-v3/ChangeLog: * testsuite/20_util/scoped_allocator/69293_neg.cc: Remove dg-error for c++20.
-rw-r--r--libstdc++-v3/testsuite/20_util/scoped_allocator/69293_neg.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/libstdc++-v3/testsuite/20_util/scoped_allocator/69293_neg.cc b/libstdc++-v3/testsuite/20_util/scoped_allocator/69293_neg.cc
index fd37374..143adc3 100644
--- a/libstdc++-v3/testsuite/20_util/scoped_allocator/69293_neg.cc
+++ b/libstdc++-v3/testsuite/20_util/scoped_allocator/69293_neg.cc
@@ -47,8 +47,4 @@ test01()
auto p = sa.allocate(1);
sa.construct(p); // this is required to be ill-formed
// { dg-error "failed: .* uses_allocator is true" "" { target *-*-* } 0 }
- // { dg-error "too many initializers for 'X'" "" { target c++2a } 0 }
}
-
-// Needed because of PR c++/92193
-// { dg-prune-output "no matching function for call to" }