re PR c++/23965 (Bogus error message: no matching function for call to 'foo(<type...
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Wed, 21 Sep 2005 15:34:41 +0000 (15:34 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Wed, 21 Sep 2005 15:34:41 +0000 (15:34 +0000)
commit1bf83ca3ddc1d6f98ea66a39eef82642ef200062
tree5edd8def4739a85da61999967c1f9c9d5c34530e
parent289260462312f975b52dc5776028b437e3c698d2
re PR c++/23965 (Bogus error message: no matching function for call to 'foo(<type error>)')

PR c++/23965
* call.c (resolve_args): Return error_mark_node on arguments
whose TREE_TYPE is error_mark_node.

* g++.dg/template/error1.C: Reject "no matching function" message.

From-SVN: r104489
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/error1.C