re PR c++/27422 (ICE with invalid function argument)
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Sat, 6 May 2006 00:19:40 +0000 (00:19 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Sat, 6 May 2006 00:19:40 +0000 (00:19 +0000)
commit6af455d7120a3a8235b8e75f60596d31b3af9817
tree86f674b145535c0bd3c74d2d9e8587f74d58ae48
parentcd4677cc49f9088e9ba200add399b0886a7f762d
re PR c++/27422 (ICE with invalid function argument)

PR c++/27422
* typeck.c (convert_arguments): Return early on args with
invalid types.

* g++.dg/conversion/void1.C: New test.

From-SVN: r113568
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/conversion/void1.C [new file with mode: 0644]