[Bug c++/55670] [C++11] This isn't a pure virtual method.

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Feb 14 04:31:00 GMT 2013


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

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2013-02-14 04:31:14 UTC ---
Author: jason
Date: Thu Feb 14 04:31:03 2013
New Revision: 196043

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196043
Log:
    PR c++/55670
    * parser.c (cp_parser_member_declaration): Check the declarator
    form when detecting a function declaration via typedef.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/nsdmi8.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c



More information about the Gcc-bugs mailing list