mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
libstdc++: Suppress some more additional diagnostics [PR117294]
libstdc++-v3/ChangeLog: PR c++/117294 * testsuite/20_util/optional/cons/value_neg.cc: Prune additional output for C++20 and later. * testsuite/20_util/scoped_allocator/69293_neg.cc: Match additional error for C++20 and later.
This commit is contained in:
committed by
Jonathan Wakely
parent
985684e9b3
commit
889a1352a2
@@ -37,3 +37,4 @@ int main()
|
||||
}
|
||||
}
|
||||
// { dg-prune-output "no type .*enable_if" }
|
||||
// { dg-prune-output "no matching function for call to 'main..::U::U..'" }
|
||||
|
||||
@@ -42,6 +42,8 @@ static_assert(uses_allocator<X, inner_alloc_type>{}, "");
|
||||
static_assert(!is_constructible<X, allocator_arg_t, inner_alloc_type>{}, "");
|
||||
static_assert(!is_constructible<X, inner_alloc_type>{}, "");
|
||||
|
||||
// { dg-error "too many initializers" "" { target c++20 } 0 }
|
||||
|
||||
void
|
||||
test01()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user