2010-05-31 Jonathan Wakely <jwakely.gcc@gmail.com>
commitc367c0a74dee0a32ab06f7342f3a1779300af767
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 31 May 2010 18:41:33 +0000 (31 18:41 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 31 May 2010 18:41:33 +0000 (31 18:41 +0000)
tree85b85c938bcd3f83352e3681784ccac3c8ebf7e8
parentcded957cb1744f358266b0ed6b2608193ead7d49
2010-05-31  Jonathan Wakely  <jwakely.gcc@gmail.com>

PR libstdc++/43820
* include/bits/shared_ptr_base.h: Require complete type.
* include/tr1/shared_ptr.h: Likewise.
* testsuite/20_util/shared_ptr/cons/43820.cc: New.
* testsuite/tr1/2_general_utilities/shared_ptr/cons/43820.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160082 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/shared_ptr_base.h
libstdc++-v3/include/tr1/shared_ptr.h
libstdc++-v3/testsuite/20_util/shared_ptr/cons/43820.cc [new file with mode: 0644]
libstdc++-v3/testsuite/tr1/2_general_utilities/shared_ptr/cons/43820.cc [new file with mode: 0644]