gcc/libstdc++-v3/testsuite/util
Paolo Carlini 4661c8fd43 system_error (native_category): Remove.
2008-10-10  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/std/system_error (native_category): Remove.
	(posix_category): Add.
	(error_code::error_code(_ErrorCodeEnum, typename enable_if<>:type*):
	Fix _M_cat initialization.
	(error_code::operator=(_ErrorCodeEnum)): Assign _M_cat too.
	(error_condition::_M_cat, error_condtion::operator=
	(_ErrorConditionEnum)): Implement resolution of DR 804.
	(error_condition::error_condition(_ErrorConditionEnum, typename
	enable_if<>:type*): Fix.
	(error_condition::clear, error_condition::assign): Implement.
	(operator==, operator!=): Fix uglification of parameters.
	(make_error_code, make_error_condition): Define in namespace
	posix_error.
	(operator<<(basic_ostream<>&, const error_code&)): Define here.
	* include/std/ostream (operator<<(basic_ostream<>&,
	const error_code&)): Do not define here.
	* testsuite/19_diagnostics/error_condition/cons/1.cc: New.	
	* testsuite/19_diagnostics/error_condition/operators/bool.cc: Likewise.
	* testsuite/19_diagnostics/error_condition/operators/bool_neg.cc:
	Likewise.
	* testsuite/19_diagnostics/error_condition/operators/equal.cc:
	Likewise.
	* testsuite/19_diagnostics/error_condition/operators/not_equal.cc:
	Likewise.
	* testsuite/19_diagnostics/error_code/cons/1.cc: Tweak.
	* testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust
	dg-error line numbers.
	* testsuite/30_threads/unique_lock/locking/2.cc: Tweak.

	* testsuite/util/testsuite_error.h: Minor tweaks.
	* testsuite/util/testsuite_hooks.cc: Avoid uninitialized warning.

From-SVN: r141039
2008-10-10 12:39:01 +00:00
..
common_type using.xml: Outline exception topics. 2008-06-06 19:32:43 +00:00
hash_fn
io using.xml: Outline exception topics. 2008-06-06 19:32:43 +00:00
native_type using.xml: Outline exception topics. 2008-06-06 19:32:43 +00:00
performance
regression using.xml: Outline exception topics. 2008-06-06 19:38:03 +00:00
statistic
testsuite_abi_check.cc
testsuite_abi.cc c-common.c (c_stddef_cpp_builtins): Define __CHAR16_TYPE__ and __CHAR32_TYPE__. 2008-07-18 20:23:42 +00:00
testsuite_abi.h testsuite_abi.h: Remove symbol_objects, symbol_names typedefs. 2008-03-26 22:29:13 +00:00
testsuite_allocator.cc testsuite_allocator.h, [...]: Remove semi-colons after namespace declarations. 2007-12-09 19:43:49 +00:00
testsuite_allocator.h [multiple changes] 2008-06-21 16:55:17 +00:00
testsuite_api.h testsuite_api.h (diamond_derivation<>::test): Expect ambiguity together with the standard exception classes. 2008-08-05 20:39:48 +00:00
testsuite_character.cc
testsuite_character.h stl_numeric.h (iota): Add in C++0x mode. 2008-06-27 10:47:27 +00:00
testsuite_common_types.h default.cc: Avoid -Wall warnings. 2008-06-25 23:28:14 +00:00
testsuite_error.h system_error (native_category): Remove. 2008-10-10 12:39:01 +00:00
testsuite_hooks.cc system_error (native_category): Remove. 2008-10-10 12:39:01 +00:00
testsuite_hooks.h
testsuite_io.h testsuite_allocator.h, [...]: Remove semi-colons after namespace declarations. 2007-12-09 19:43:49 +00:00
testsuite_iterators.h [multiple changes] 2008-06-21 16:55:17 +00:00
testsuite_performance.h testsuite_visualization.h: Move contents into... 2008-05-05 17:22:02 +00:00
testsuite_rng.h using.xml: Outline exception topics. 2008-06-06 19:32:43 +00:00
testsuite_rvalref.h [multiple changes] 2007-12-10 13:53:10 +00:00
testsuite_shared.cc
testsuite_tr1.h