re PR c++/9749 (ICE in write_expression on invalid function prototype)
authorMark Mitchell <mark@codesourcery.com>
Fri, 21 Feb 2003 22:56:06 +0000 (22:56 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 21 Feb 2003 22:56:06 +0000 (22:56 +0000)
commit2fff6d712a2f60614485537316ec68a9cba4e249
tree6b58d042074da45c56a409264d627829afcce86b
parent9809a3624d899076cd7b3f756941ffba81dee7d8
re PR c++/9749 (ICE in write_expression on invalid function prototype)

PR c++/9749
* decl.c (grokdeclarator): Do not allow parameters with variably
modified types.

PR c++/9749
* g++.dg/parse/varmod1.C: New test.

From-SVN: r63250
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/varmod1.C [new file with mode: 0644]