From: Jonathan Wakely Date: Tue, 5 Oct 2021 08:32:11 +0000 (+0100) Subject: libstdc++: Fix testcase for newly-implemented C++20 semantics [PR102535] X-Git-Tag: basepoints/gcc-13~4132 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7646847df71e57edca5ec5b8c3c3dc4550dcb49d;p=thirdparty%2Fgcc.git 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 --git a/libstdc++-v3/testsuite/20_util/is_trivially_constructible/value.cc b/libstdc++-v3/testsuite/20_util/is_trivially_constructible/value.cc index 488ea7585ff6..fd1fbb07ecb8 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(true), ""); static_assert(test_property(false), ""); + PODType, int, int>(__cplusplus >= 202002L), ""); static_assert(test_property(false), ""); static_assert(test_property