Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
pr67074.C
blob: ce31ede15887237ba3ec5c4d1b3d38bdcb61e975 [
file
] [
log
] [
blame
]
// PR c++/67074 namespace aliases to the same place.
namespace
P
{
namespace
X
{
static
int
i
=
1
;
}
}
namespace
Q
{
namespace
X
=
P
::
X
;
}
using
namespace
P
;
using
namespace
Q
;
void
Frob
()
{
X
::
i
;
}
namespace
N
{}
namespace
N
=
N
;