[PATCH] Improve tests for contents of <new> header

Jonathan Wakely jwakely@redhat.com
Mon Dec 12 16:36:00 GMT 2016


On 07/12/16 15:22 +0000, Jonathan Wakely wrote:
>This test for the contents of the <new> header doesn't get run for
>C++98 mode and doesn't include the C++14 and C++17 additions. I've
>split the C++98-only test into a separate file, and added the new
>parts so they're tested conditionally depending on how the test is
>run.
>
>	* testsuite/18_support/headers/new/synopsis.cc: Add C++14 and C++17
>	declarations.
>	* testsuite/18_support/headers/new/synopsis_cxx98.cc: New test.
>
>Tested powerpc64le-linux, committed to trunk.

Here's the equivalent for the branches, which doesn't test the C++17
over-aligned allocation functions that are only on trunk.

Tested x86_64-linux, committed to gcc-5-branch and gcc-6-branch.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 4658 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20161212/e1dc54a3/attachment.bin>


More information about the Libstdc++ mailing list