https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87431
--- Comment #16 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Tue Jan 8 23:15:49 2019 New Revision: 267743 URL: https://gcc.gnu.org/viewcvs?rev=267743&root=gcc&view=rev Log: 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. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/testsuite/libstdc++-prettyprinters/compat.cc trunk/libstdc++-v3/testsuite/libstdc++-prettyprinters/cxx17.cc