Fix dejagnu directives in shared_ptr test
authorJonathan Wakely <jwakely@redhat.com>
Thu, 10 Dec 2015 14:32:16 +0000 (14:32 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 10 Dec 2015 14:32:16 +0000 (14:32 +0000)
commitaca12aff8b947dca6ae65abd3c39c31ea1d4e926
tree59e81b82e5178cd99f88df2566bf3d2f0f0a7585
parent102a163189b46c6d6e389817ce39b169f1fdbc9c
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.

From-SVN: r231516
libstdc++-v3/ChangeLog
libstdc++-v3/include/experimental/bits/shared_ptr.h
libstdc++-v3/testsuite/experimental/memory/shared_ptr/cons/copy_ctor_neg.cc