This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/59254] confusing diagnostic for undefined template shadowed by declaration in inline namespace
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 23 Mar 2015 14:31:04 +0000
- Subject: [Bug c++/59254] confusing diagnostic for undefined template shadowed by declaration in inline namespace
- Auto-submitted: auto-generated
- References: <bug-59254-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59254
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-03-23
Ever confirmed|0 |1
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Confirmed on trunk.
The difference between 'struct' and 'class' in my original example is not
relevant:
namespace outer {
inline namespace inner {
template<typename T> struct A;
}
template<typename T> struct A;
template struct A<int>;
}