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

redi@gcc.gnu.org redi@gcc.gnu.org
Wed Apr 17 19:27:00 GMT 2019


Author: redi
Date: Wed Apr 17 19:27:19 2019
New Revision: 270423

URL: https://gcc.gnu.org/viewcvs?rev=270423&root=gcc&view=rev
Log:
Fix tests for std::variant to match original intention

	* testsuite/20_util/variant/compile.cc (MoveCtorOnly): Fix type to
	actually match its name.
	(MoveCtorAndSwapOnly): Define new type that adds swap to MoveCtorOnly.
	(test_swap()): Fix result for MoveCtorOnly and check
	MoveCtorAndSwapOnly.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/testsuite/20_util/variant/compile.cc



More information about the Libstdc++-cvs mailing list