gcc/libstdc++-v3/testsuite/20_util/unique_ptr
Jonathan Wakely 6d79ba303c re PR libstdc++/54351 (~unique_ptr() should not set stored pointer to null)
PR libstdc++/54351
	* include/bits/unique_ptr.h (unique_ptr<T>::~unique_ptr): Do not use
	reset().
	(unique_ptr<T[]>::~unique_ptr()): Likewise.
	* testsuite/20_util/unique_ptr/54351.cc: New.
	* testsuite/20_util/unique_ptr/assign/48635_neg.cc: Adjust dg-error
	line numbers.

From-SVN: r190676
2012-08-26 01:12:40 +01:00
..
assign re PR libstdc++/54351 (~unique_ptr() should not set stored pointer to null) 2012-08-26 01:12:40 +01:00
comparison shared_ptr.h (operator>, [...]): Add, per DR 1401. 2011-03-22 15:15:03 +00:00
cons valarray (~valarray): Use noexcept. 2011-06-14 17:48:29 +00:00
hash shared_ptr.h (hash<shared_ptr>): Add. 2010-06-11 16:20:24 +00:00
modifiers re PR libstdc++/48398 ([C++0x] std::unique_ptr<T, D> is broken when D::pointer is not T*) 2011-04-02 20:32:15 +01:00
requirements re PR libstdc++/48398 ([C++0x] std::unique_ptr<T, D> is broken when D::pointer is not T*) 2011-04-02 20:32:15 +01:00
specialized_algorithms Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
54351.cc re PR libstdc++/54351 (~unique_ptr() should not set stored pointer to null) 2012-08-26 01:12:40 +01:00