aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-05-11 17:14:26 +0100
committerJonathan Wakely <jwakely@redhat.com>2021-05-11 17:21:08 +0100
commit37407a2ae701c0a93377106a2938ab5474062fc3 (patch)
tree64af84b86d77fd65018e79e30aec5cab443da536 /libcpp
parent5e3a1ea3d89d62972e1f036b2ede37a80b880bdf (diff)
downloadgcc-37407a2ae701c0a93377106a2938ab5474062fc3.zip
gcc-37407a2ae701c0a93377106a2938ab5474062fc3.tar.gz
gcc-37407a2ae701c0a93377106a2938ab5474062fc3.tar.bz2
libstdc++: Fix tests that fail in C++98 mode
The header synopsis test fails to define NOTHROW for C++98. The shared_ptr test should be skipped for C++98. The debug mode one should work for C++98 too, it just needs to avoid C++11 syntax that isn't valid in C++98. libstdc++-v3/ChangeLog: * testsuite/20_util/headers/memory/synopsis.cc: Define C++98 alternative for macro. * testsuite/20_util/shared_ptr/creation/99006.cc: Add effective target keyword. * testsuite/25_algorithms/copy/debug/99402.cc: Avoid C++11 syntax.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions