URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [lookup/] [ambig5.C] - Rev 693
Compare with Previous | Blame | View Log
// PR c++/13377
// Origin: Boris Kolpackov <boris@kolpackov.net>
// { dg-do compile }
namespace N
{
namespace M {} // { dg-error "M" }
}
namespace M {} // { dg-error "M" }
using namespace N;
using namespace M; // { dg-error "namespace-name|ambiguous" }