Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
using20.C
blob: f1be41fea95e0b0a0ca53668c3213738d5456179 [
file
] [
log
] [
blame
]
// PR c++/40476
namespace
A
{
int
i
;
// { dg-message "i" }
}
using
namespace
A
;
namespace
B
{
namespace
B2
{
int
i
;
// { dg-message "i" }
}
using
namespace
B2
;
}
using
namespace
B
;
int
j
=
::
i
;
// { dg-error "ambiguous" }