gcc/libstdc++-v3/testsuite/20_util/unique_ptr/assign
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
..
48635.cc re PR libstdc++/48635 ([C++0x] unique_ptr<T, D&> moves the deleter instead of copying it) 2011-04-16 00:55:43 +00:00
48635_neg.cc re PR libstdc++/54351 (~unique_ptr() should not set stored pointer to null) 2012-08-26 01:12:40 +01:00
assign_neg.cc re PR testsuite/46860 (New libstdc++ failures) 2010-12-09 04:34:20 +00:00
move.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
move_array.cc Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
nullptr.cc [multiple changes] 2010-06-05 18:43:29 +01:00