OSDN Git Service

PR c++/42415
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Dec 2009 16:12:50 +0000 (16:12 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Dec 2009 16:12:50 +0000 (16:12 +0000)
commitc2ce72e8223d7bada34c0564094a21d7b7ed6996
tree7981096816f0116a865495f8daba77c46c1ae142
parentca4721d344160e9b884b5aa7016b2f1c0162920e
PR c++/42415
* call.c (build_new_method_call): Complain about calling the
constructor directly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155347 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tc1/dr147.C