gcc/libstdc++-v3/testsuite
Paolo Carlini 3abeaf8f89 re PR libstdc++/42925 ([GB 99] Not possible to compare unique_ptr with 0)
2010-08-11  Paolo Carlini  <paolo.carlini@oracle.com>

	PR libstdc++/42925
	* include/bits/unique_ptr.h (operator==(const unique_ptr<>&,
	nullptr_t), operator==(nullptr_t, const unique_ptr<>&),
	operator!=(const unique_ptr<>&, nullptr_t),
	operator!=(nullptr_t, const unique_ptr<>&)): Add.
	* include/bits/shared_ptr_base.h (operator==(const __shared_ptr<>&,
	nullptr_t), operator==(nullptr_t, const __shared_ptr<>&),
	operator!=(const __shared_ptr<>&, nullptr_t),
	operator!=(nullptr_t, const __shared_ptr<>&)): Likewise.
	* include/bits/shared_ptr.h (operator==(const shared_ptr<>&,
	nullptr_t), operator==(nullptr_t, const shared_ptr<>&),
	operator!=(const shared_ptr<>&, nullptr_t),
	operator!=(nullptr_t, const shared_ptr<>&)): Likewise.
	* testsuite/20_util/unique_ptr/comparison/42925.cc: New.
	* testsuite/20_util/shared_ptr/comparison/42925.cc: Likewise.
	* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust
	dg-error line numbers.

From-SVN: r163094
2010-08-11 08:49:47 +00:00
..
17_intro
18_support [multiple changes] 2010-07-27 17:27:06 +00:00
19_diagnostics
20_util re PR libstdc++/42925 ([GB 99] Not possible to compare unique_ptr with 0) 2010-08-11 08:49:47 +00:00
21_strings [multiple changes] 2010-07-27 17:27:06 +00:00
22_locale
23_containers range_access.cc: Avoid -Wall warnings. 2010-08-10 10:28:47 +00:00
24_iterators [multiple changes] 2010-07-27 17:27:06 +00:00
25_algorithms
26_numerics cmath: Implement US 136. 2010-08-08 10:07:16 +00:00
27_io
28_regex [multiple changes] 2010-07-27 17:27:06 +00:00
29_atomics
30_threads * include/std/thread: Add deleted thread(thread&). 2010-08-06 15:41:23 -04:00
abi
backward
config
data
decimal
ext 1.cc: Avoid -Wall warnings. 2010-08-10 11:28:23 +00:00
lib
libstdc++-abi
libstdc++-dg
performance
tr1
util
Makefile.am
Makefile.in