[Bug c++/67663] ambiguous namespace/class name not reported as error
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67663 --- Comment #1 from Andrei M. --- in line: a::i=1; i is resolved to x::a::i
[Bug c++/67663] New: ambiguous namespace/class name not reported as error
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: andreim77 at yahoo dot com Target Milestone: --- #include struct a { static const int i=0; }; namespace x { namespace a { int i; } } using namespace x; int main() { a::i=1; std::cout