diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2022-02-14 10:05:47 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2022-02-14 12:46:04 +0000 |
commit | 220d85fdf0b5d61e212289fd6ec763980700c572 (patch) | |
tree | 930b2a0ebfaaaf2b6ecd3735e48145a0338476e6 | |
parent | 813415650235b8ca42fe1afb3fcb0430e8628d30 (diff) | |
download | gcc-220d85fdf0b5d61e212289fd6ec763980700c572.zip gcc-220d85fdf0b5d61e212289fd6ec763980700c572.tar.gz gcc-220d85fdf0b5d61e212289fd6ec763980700c572.tar.bz2 |
libstdc++: Fix typo in pragma
libstdc++-v3/ChangeLog:
* testsuite/20_util/unsynchronized_pool_resource/allocate.cc:
Fix typo.
-rw-r--r-- | libstdc++-v3/testsuite/20_util/unsynchronized_pool_resource/allocate.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/20_util/unsynchronized_pool_resource/allocate.cc b/libstdc++-v3/testsuite/20_util/unsynchronized_pool_resource/allocate.cc index 25e5ce6..1c228ea 100644 --- a/libstdc++-v3/testsuite/20_util/unsynchronized_pool_resource/allocate.cc +++ b/libstdc++-v3/testsuite/20_util/unsynchronized_pool_resource/allocate.cc @@ -287,7 +287,7 @@ test07() // so that careful_resource::do_allocate can distinguish this allocation // from any required for the pool resource's internal data structures): void* p = upr.allocate(std::size_t(-2), 1024); -#pragma GCC distinguish pop +#pragma GCC diagnostic pop // Should not reach here! VERIFY( !"attempt to allocate SIZE_MAX-1 should not have succeeded" ); throw p; |