re PR c++/59766 (c++1y: declaring friend function with 'auto' return type deduction...
authorDavid Krauss <david_work@me.com>
Tue, 14 Apr 2015 15:29:27 +0000 (15:29 +0000)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 14 Apr 2015 15:29:27 +0000 (11:29 -0400)
commit688e531e4b84d9250646715658179a5f72753609
treea32a497ef0a398c352a42a0e75a8905ce2ec5f3b
parent2fd16d0f9007f2e9a991b80c6ae2e4c5f85272b6
re PR c++/59766 (c++1y: declaring friend function with 'auto' return type deduction is rejected with bogus reason)

PR c++/59766
* decl.c (grokdeclarator): Do not flag friends with deduced return.

From-SVN: r222095
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/g++.dg/cpp1y/auto-fn26.C [new file with mode: 0644]