[Bug c++/62101] deleted definitions of friend functions are rejected
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Aug 14 17:12:00 GMT 2014
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
More information about the Gcc-bugs
mailing list