https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65127
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Tue Mar 10 19:10:43 2015 New Revision: 221332 URL: https://gcc.gnu.org/viewcvs?rev=221332&root=gcc&view=rev Log: PR c++/65127 * parser.c (parsing_nsdmi): Don't return true if current_class_ptr is not a PARM_DECL. * g++.dg/cpp0x/pr65127.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp0x/pr65127.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/parser.c trunk/gcc/testsuite/ChangeLog