This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/59766] c++1y: declaring friend function with 'auto' return type deduction is rejected with bogus reason
- 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: Tue, 14 Apr 2015 15:29:59 +0000
- Subject: [Bug c++/59766] c++1y: declaring friend function with 'auto' return type deduction is rejected with bogus reason
- Auto-submitted: auto-generated
- References: <bug-59766-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59766
--- Comment #11 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Apr 14 15:29:27 2015
New Revision: 222095
URL: https://gcc.gnu.org/viewcvs?rev=222095&root=gcc&view=rev
Log:
PR c++/59766
* decl.c (grokdeclarator): Do not flag friends with deduced return.
Added:
trunk/gcc/testsuite/g++.dg/cpp1y/auto-fn26.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c