PR libstdc++/61036
commitea8c0aad06e706a563cd1bd5fdcbc52c2e59a8f9
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 May 2014 18:29:48 +0000 (2 18:29 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 2 May 2014 18:29:48 +0000 (2 18:29 +0000)
treec23858138f7540ca94f222fa4e1300a2d6a086a1
parente0e14cbdd6ecc9f979233763caba19b250b4911a
PR libstdc++/61036
* include/bits/shared_ptr_base.h (__shared_ptr::__shared_ptr(_Tp1*)):
Check the correct type in the static assertion.
* testsuite/20_util/shared_ptr/cons/61036.cc: New.

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