This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16468] New: using-declaration of namespace name
- From: "boris at kolpackov dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Jul 2004 21:04:07 -0000
- Subject: [Bug c++/16468] New: using-declaration of namespace name
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
$ cat >test.cxx
namespace n
{
namespace m
{
}
}
using n::m;
$ g++ --version
g++ (GCC) 3.4.0
$ g++ -c test.cxx
test.cxx:8: error: namespace `n::m' not allowed in using-declaration
I have searched through the standard and did not find any restrictions on the
type of name in using-declaration.
--
Summary: using-declaration of namespace name
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: boris at kolpackov dot net
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16468