This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]