r267743 - in /trunk/libstdc++-v3: ChangeLog tes...

redi@gcc.gnu.org redi@gcc.gnu.org
Tue Jan 8 23:15:00 GMT 2019


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



More information about the Libstdc++-cvs mailing list