------- Comment #4 from mmitchel at gcc dot gnu dot org  2006-12-07 17:49 
-------
Subject: Bug 29730

Author: mmitchel
Date: Thu Dec  7 17:49:32 2006
New Revision: 119631

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=119631
Log:
        PR c++/29730
        * parser.c (cp_parser_init_declarator): Reject initialization of
        functions.

        PR c++/29730
        * g++.dg/template/crash64.C: New test.
        * g++.dg/parse/crash27.C: Adjust error markers.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/crash64.C
Modified:
    branches/gcc-4_1-branch/gcc/cp/ChangeLog
    branches/gcc-4_1-branch/gcc/cp/parser.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/parse/crash27.C


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29730

Reply via email to