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++/58878] Template parameter name can be hidden in a template member function defined inside the class specifier


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

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Fri Oct 25 16:26:10 2013
New Revision: 204071

URL: http://gcc.gnu.org/viewcvs?rev=204071&root=gcc&view=rev
Log:
/cp
2013-10-25  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/58878
    * pt.c (check_template_shadow): Don't skip declarations in inline
    member templates.

/testsuite
2013-10-25  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/58878
    * g++.dg/template/pr58878.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/template/pr58878.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.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]