typeck.c (build_c_cast): Don't decay arrays and functions to pointer type when conver...
authorMark Mitchell <mmitchell@usa.net>
Sun, 10 May 1998 23:46:36 +0000 (23:46 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 10 May 1998 23:46:36 +0000 (23:46 +0000)
commit4785faf11744c7e86ac93032075b23becebef200
tree8af3e025a91323607b63011f8ad4ad4dbfef73b9
parente1b1668d45ab0993390510ac0c042746eefa0f8f
typeck.c (build_c_cast): Don't decay arrays and functions to pointer type when converting to a class type.

* typeck.c (build_c_cast): Don't decay arrays and functions to
pointer type when converting to a class type.

From-SVN: r19659
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/g++.old-deja/g++.other/cvt1.C [new file with mode: 0644]