------- Comment #15 from jason at gcc dot gnu dot org 2009-11-13 14:40 ------- Subject: Bug 11987
Author: jason Date: Fri Nov 13 14:40:13 2009 New Revision: 154149 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=154149 Log: PR c++/11987 * parser.c (cp_parser_direct_declarator): Give helpful error about trying to define member of a dependent typedef. * pt.c (resolve_typename_type): Don't resolve a typedef typename. * tree.c (typedef_variant_p): New. * cp-tree.h: Declare it. Added: trunk/gcc/testsuite/g++.dg/parse/typename11.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-tree.h trunk/gcc/cp/parser.c trunk/gcc/cp/pt.c trunk/gcc/cp/tree.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/template/crash48.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11987