[Bug c++/50344] friend declaration confused by const qualifier

paolo at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 22 14:21:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50344

--- Comment #5 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-09-22 14:16:33 UTC ---
Author: paolo
Date: Thu Sep 22 14:16:27 2011
New Revision: 179088

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179088
Log:
/cp
2011-09-22  Jonathan Wakely  <jwakely.gcc@gmail.com>
        Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/50344
    * friend.c (make_friend_class): cv-qualification is ok in a
    friend declaration.

/testsuite
2011-09-22  Jonathan Wakely  <jwakely.gcc@gmail.com>
        Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/50344
    * g++.dg/template/friend52.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/template/friend52.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/friend.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list