]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fix dejagnu directives in shared_ptr test
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Dec 2015 14:32:16 +0000 (14:32 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Dec 2015 14:32:16 +0000 (14:32 +0000)
commit1a9de75c92a4b7c4b29d34383d727581a33adddd
tree59e81b82e5178cd99f88df2566bf3d2f0f0a7585
parent82e4bc96812bae5728f4a266b304ec273c95807a
Fix dejagnu directives in shared_ptr test

PR libstdc++/68825
* include/experimental/bits/shared_ptr.h (__shared_ptr, __weak_ptr,
experimental::shared_ptr, experimental::weak_ptr): Constrain
assignment operators.
* testsuite/experimental/memory/shared_ptr/cons/copy_ctor_neg.cc:
Change to a compile-only test and change dg-excess-errors to dg-error.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231516 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/experimental/bits/shared_ptr.h
libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/copy_ctor_neg.cc