Test experimental::shared_ptr construction from other smart pointers
authorJonathan Wakely <jwakely@redhat.com>
Wed, 19 Oct 2016 11:57:22 +0000 (12:57 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 19 Oct 2016 11:57:22 +0000 (12:57 +0100)
commita04df2babb16c70ba02f1f44bc92bd723d84a11f
treecdef18b5a8cd98c02f64c305e37b24cdc38da4db
parentcbb22e6143e5a2c47bf2006312173c19594c12dc
Test experimental::shared_ptr construction from other smart pointers

* testsuite/experimental/memory/shared_ptr/cons/unique_ptr_ctor.cc:
Add tests for valid and invalid conversions.
* testsuite/experimental/memory/shared_ptr/cons/weak_ptr_ctor.cc:
Likewise.

From-SVN: r241340
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/unique_ptr_ctor.cc
libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/weak_ptr_ctor.cc