------- Comment #3 from jakub at gcc dot gnu dot org 2009-01-12 15:43 ------- Subject: Bug 38794
Author: jakub Date: Mon Jan 12 15:43:22 2009 New Revision: 143292 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143292 Log: PR c++/38794 * decl.c (start_function): If grokdeclarator hasn't returned FUNCTION_DECL nor error_mark_node, issue diagnostics. * g++.dg/parse/typedef9.C: New test. Added: trunk/gcc/testsuite/g++.dg/parse/typedef9.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38794