summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/20_util/shared_ptr/cons
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2014-05-14 12:47:54 -0400
committerJason Merrill <jason@gcc.gnu.org>2014-05-14 12:47:54 -0400
commit89606913ce096b28d0a822fedf4a6333468a66cd (patch)
tree1a5c0bb3429211772bcc50bc832841a0edf52f96 /libstdc++-v3/testsuite/20_util/shared_ptr/cons
parent25109109c4112c924627c97809d3a0ad38333651 (diff)
downloadgcc-89606913ce096b28d0a822fedf4a6333468a66cd.tar.gz
call.c (struct conversion_info): Rename 'from_type' to 'from'.
* call.c (struct conversion_info): Rename 'from_type' to 'from'. (arg_conversion_rejection, bad_arg_conversion_rejection) (explicit_conversion_rejection, template_conversion_rejection): Adjust. (add_function_candidate): Pass actual argument, rather than type, to bad_arg_conversion_rejection. (print_conversion_rejection): Explain what's wrong with the conversion. (print_z_candidate): Say "candidate:" before each candidate. (splice_viable): Be strict if we see a viable or template candidate. (build_user_type_conversion_1): Pass false to strict parameter. (perform_overload_resolution, build_conditional_expr_1): Likewise. (build_new_op_1, build_new_method_call_1): Likewise. (build_op_call_1): Pass true to strict parameter. From-SVN: r210435
Diffstat (limited to 'libstdc++-v3/testsuite/20_util/shared_ptr/cons')
-rw-r--r--libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc
index 563d2f83ef3..b0e9781864b 100644
--- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc
+++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc
@@ -34,7 +34,7 @@ test01()
bool test __attribute__((unused)) = true;
std::unique_ptr<A> a;
- std::shared_ptr<A> p(a); // { dg-error "cannot bind" }
+ std::shared_ptr<A> p(a); // { dg-error "" }
return 0;
}