diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2019-01-08 23:15:49 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2019-01-08 23:15:49 +0000 |
commit | 416f555930c2eb2fbfb6edb8219cf090d0bd5e74 (patch) | |
tree | 9764ddb234997b1419caac7700530b89d4f862e1 /gcc | |
parent | d942bc80e4e99f26df39b8c03e8fb03e7c7e91bc (diff) | |
download | gcc-416f555930c2eb2fbfb6edb8219cf090d0bd5e74.zip gcc-416f555930c2eb2fbfb6edb8219cf090d0bd5e74.tar.gz gcc-416f555930c2eb2fbfb6edb8219cf090d0bd5e74.tar.bz2 |
Pretty printer test fixes and improvements
Test that StdUniquePtrPrinter correctly prints std::unique_ptr objects
using the old layout, prior to the PR libstdc++/77990 changes.
The printer test for a valueless std::variant started to fail because
the PR libstdc++/87431 fix meant it no longer became valueless. Change
the test to use a type that is not trivially copyable, so that the
exception causes it to become valueless.
* testsuite/libstdc++-prettyprinters/compat.cc: Test printer support
for old std::unique_ptr layout.
* testsuite/libstdc++-prettyprinters/cxx17.cc: Fix std::variant test
to become valueless. Add filesystem::path tests.
From-SVN: r267743
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions