https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62101
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> --- Author: jason Date: Thu Aug 14 17:11:26 2014 New Revision: 213974 URL: https://gcc.gnu.org/viewcvs?rev=213974&root=gcc&view=rev Log: PR c++/62101 * decl.c (grokdeclarator): Move the check for friend initializers.. * decl2.c (grokfield) ..here. Postpone early return for friends until after the initializer check. Added: trunk/gcc/testsuite/g++.dg/cpp0x/pr62101.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl.c trunk/gcc/cp/decl2.c