This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/81064] [8 Regression] Inline namespace regression
- 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, 12 Jun 2017 09:50:16 +0000
- Subject: [Bug c++/81064] [8 Regression] Inline namespace regression
- Auto-submitted: auto-generated
- References: <bug-81064-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81064
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-06-12
Ever confirmed|0 |1
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Confirmed:
namespace n1 {
inline namespace in { }
inline namespace n2 {
inline namespace in { }
}
}
namespace n1 {
namespace in { }
}
ns.cc:9:13: error: conflicting declaration of namespace ‘n1::in’
namespace in { }
^~
ns.cc:2:20: note: previous declaration of namespace ‘n1::in’ here
inline namespace in { }
^~
Aside: do we really want to translate "namespace" in diagnostics?