re PR c++/48450 ([C++0x][SFINAE] Hard errors with static_cast expressions)
authorJason Merrill <jason@redhat.com>
Thu, 7 Apr 2011 21:47:45 +0000 (17:47 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 7 Apr 2011 21:47:45 +0000 (17:47 -0400)
commitb46c79a1f6f5ed512218196e5d5fca8ca0545b92
treed8a9aa4a6398d3ca1d068200366a8e7c7237d035
parent3f89235e9d26a56e848d99a812177e149d87df3c
re PR c++/48450 ([C++0x][SFINAE] Hard errors with static_cast expressions)

PR c++/48450
* call.c (resolve_args): Take complain.
(build_new_function_call, build_operator_new_call): Pass it.
(build_op_call, build_new_op, build_new_method_call): Pass it.

From-SVN: r172146
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/sfinae9.C [new file with mode: 0644]