diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2024-08-20 21:47:29 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2024-08-20 21:51:50 +0100 |
commit | 20c63093db0f230ef49a298cdb0611f38e470203 (patch) | |
tree | 533cb1696973d5c9652cd95ab7484683ff55c120 /gcc | |
parent | 447c32c5142a60278230f81ae6e50e41ef6d988e (diff) | |
download | gcc-20c63093db0f230ef49a298cdb0611f38e470203.zip gcc-20c63093db0f230ef49a298cdb0611f38e470203.tar.gz gcc-20c63093db0f230ef49a298cdb0611f38e470203.tar.bz2 |
libstdc++: Adjust testcase for constexpr placement new [PR115744]
This test now fails in C++26 mode because the declaration in <new> is
constexpr and the one in the test isn't. Add constexpr to the test.
libstdc++-v3/ChangeLog:
PR libstdc++/115744
* testsuite/18_support/headers/new/synopsis.cc [C++26]: Add
constexpr to placement operator new and operator new[].
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions