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++/29993] typdef declaration of cv-qualified function in class



------- Comment #5 from dgregor at gcc dot gnu dot org  2007-03-28 13:31 -------
Subject: Bug 29993

Author: dgregor
Date: Wed Mar 28 13:31:37 2007
New Revision: 123294

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123294
Log:
2007-03-28 Douglas Gregor <doug.gregor@gmail.com>

        PR c++/29993
        * decl.c (grokdeclarator): Deal with cv-qualified function type
        typedefs in the same way for member and non-member functions.

2007-03-28  Douglas Gregor  <doug.gregor@gmail.com>


        PR c++/29993
        * g++.dg/other/cv_func2.C: New.


Added:
    trunk/gcc/testsuite/g++.dg/other/cv_func2.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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