From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2140) id CD95E388A836; Fri, 31 Jul 2020 15:06:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CD95E388A836 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1596207989; bh=TErTLJx9i91hP85WUSHZWWyNvwMo/4iO5X1FQXsJur8=; h=From:To:Subject:Date:From; b=tvqA8uSQHDLi2dFvuqS3KmyC0shv1q8Im0VVf9GSFqhNy+BcR4wCqACkREIiHFG+i C/WM/sFwHtnaM8Yv3sxvBi6JyiEZjcieh9GWT0enB190cUQ7zdmTOpmDxY4kmOQwDt pLUQhEnGofngdZOn5eJiaR+8tBXvd+UOcXq/S1Kc= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Alexandre Oliva To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc(refs/users/aoliva/heads/testbase)] libstdc++: Fix tests using wrong allocator type X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/users/aoliva/heads/testbase X-Git-Oldrev: cf5d0fc2d1adcd53b52c5d3f946822b687546c0b X-Git-Newrev: 357beca8bce179315bdf112c0f1df20ff5874f39 Message-Id: <20200731150629.CD95E388A836@sourceware.org> Date: Fri, 31 Jul 2020 15:06:29 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jul 2020 15:06:29 -0000 https://gcc.gnu.org/g:357beca8bce179315bdf112c0f1df20ff5874f39 commit 357beca8bce179315bdf112c0f1df20ff5874f39 Author: Jonathan Wakely Date: Thu Jul 30 18:41:47 2020 +0100 libstdc++: Fix tests using wrong allocator type libstdc++-v3/ChangeLog: * testsuite/23_containers/unordered_multiset/cons/noexcept_default_construct.cc: Use allocator with the correct value type. * testsuite/23_containers/unordered_set/cons/noexcept_default_construct.cc: Likewise. Diff: --- .../23_containers/unordered_multiset/cons/noexcept_default_construct.cc | 2 +- .../23_containers/unordered_set/cons/noexcept_default_construct.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libstdc++-v3/testsuite/23_containers/unordered_multiset/cons/noexcept_default_construct.cc b/libstdc++-v3/testsuite/23_containers/unordered_multiset/cons/noexcept_default_construct.cc index b7c0d802125..8511cb95421 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_multiset/cons/noexcept_default_construct.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_multiset/cons/noexcept_default_construct.cc @@ -62,7 +62,7 @@ template }; using type4 = std::unordered_multiset, std::equal_to, - not_noexcept_dflt_cons_alloc>>; + not_noexcept_dflt_cons_alloc>; static_assert(!std::is_nothrow_default_constructible::value, "not noexcept default constructible"); diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/cons/noexcept_default_construct.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/cons/noexcept_default_construct.cc index d60a81ffb7c..44db4aec6cf 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/cons/noexcept_default_construct.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/cons/noexcept_default_construct.cc @@ -62,7 +62,7 @@ template }; using type4 = std::unordered_set, std::equal_to, - not_noexcept_dflt_cons_alloc>>; + not_noexcept_dflt_cons_alloc>; static_assert(!std::is_nothrow_default_constructible::value, "not noexcept default constructible");