re PR c++/29733 (ICE on initialization of function type)
authorMark Mitchell <mark@codesourcery.com>
Mon, 4 Dec 2006 18:08:11 +0000 (18:08 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 4 Dec 2006 18:08:11 +0000 (18:08 +0000)
commit2c05d05ede8e14d8e709b172e83004c53fb30187
tree64d0f23d27b0b2b14eb52109511cf8201f0d3f7b
parent7b5d1e27361c3442fdf553f7384d68f3ce57fe8e
re PR c++/29733 (ICE on initialization of function type)

PR c++/29733
* pt.c (tsubst_decl): Disallow variables of function type.
PR c++/29733
* g++.dg/template/crash61.C: New test.

From-SVN: r119500
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/crash61.C [new file with mode: 0644]