]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: Fix cpp0x/trivial1.C for std::is_trivial deprecation in C++26
authorJonathan Wakely <jwakely@redhat.com>
Tue, 10 Dec 2024 14:58:18 +0000 (14:58 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 10 Dec 2024 15:01:01 +0000 (15:01 +0000)
commit7aab1271b4afb6f3e9e8a01825fcb14750b29312
treeb2e37b34113c6a4f797c0bf5c15e1b180ca47d9a
parent34dfb30ca8dba6bc184e563b0ddc26a5239294e3
testsuite: Fix cpp0x/trivial1.C for std::is_trivial deprecation in C++26

std::is_trivial is deprecated in C++26, so this test needs to use
-Wno-deprecated now.

gcc/testsuite/ChangeLog:

* g++.dg/cpp0x/trivial1.C: Add -Wno-deprecated for C++26.
gcc/testsuite/g++.dg/cpp0x/trivial1.C