re PR c++/60943 ([C++14] Return type deduction interferes with ref-qualifiers)
authorNathan Sidwell <nathan@acm.org>
Thu, 21 May 2015 20:50:45 +0000 (20:50 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 21 May 2015 20:50:45 +0000 (20:50 +0000)
commit9ab2fcc16d674a876364159f5daa2258b42e6bb0
treed1c5107042dee7795f8c4d6735e86e94315b20b6
parentd51a6714b93b8a3c85e69003d74782140cd9b763
re PR c++/60943 ([C++14] Return type deduction interferes with ref-qualifiers)

cp/
PR c++/60943
* decl2.c (change_return_type): Propagate FUNCTION_REF_QUALIFIED.

testsuite/
* g++.dg/cpp1y/pr60943.C: New.

From-SVN: r223502
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp1y/pr60943.C [new file with mode: 0644]