This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/55670] [C++11] This isn't a pure virtual method.
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 14 Feb 2013 04:31:14 +0000
- Subject: [Bug c++/55670] [C++11] This isn't a pure virtual method.
- Auto-submitted: auto-generated
- References: <bug-55670-4@http.gcc.gnu.org/bugzilla/>
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