public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-4181] libstdc++: Fix testcase for newly-implemented C++20 semantics [PR102535]
@ 2021-10-05  8:36 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2021-10-05  8:36 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:7646847df71e57edca5ec5b8c3c3dc4550dcb49d

commit r12-4181-g7646847df71e57edca5ec5b8c3c3dc4550dcb49d
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Tue Oct 5 09:32:11 2021 +0100

    libstdc++: Fix testcase for newly-implemented C++20 semantics [PR102535]
    
    libstdc++-v3/ChangeLog:
    
            PR c++/102535
            * testsuite/20_util/is_trivially_constructible/value.cc: Adjust
            expected value for C++20.

Diff:
---
 libstdc++-v3/testsuite/20_util/is_trivially_constructible/value.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libstdc++-v3/testsuite/20_util/is_trivially_constructible/value.cc b/libstdc++-v3/testsuite/20_util/is_trivially_constructible/value.cc
index 488ea7585ff..fd1fbb07ecb 100644
--- a/libstdc++-v3/testsuite/20_util/is_trivially_constructible/value.cc
+++ b/libstdc++-v3/testsuite/20_util/is_trivially_constructible/value.cc
@@ -105,7 +105,7 @@ void test01()
   static_assert(test_property<is_trivially_constructible,
 		PODType, const PODType&>(true), "");
   static_assert(test_property<is_trivially_constructible,
-		PODType, int, int>(false), "");
+		PODType, int, int>(__cplusplus >= 202002L), "");
   static_assert(test_property<is_trivially_constructible,
 		NType>(false), "");
   static_assert(test_property<is_trivially_constructible,


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-05  8:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-05  8:36 [gcc r12-4181] libstdc++: Fix testcase for newly-implemented C++20 semantics [PR102535] Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).