URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [tags/] [gnu-src/] [gdb-7.2/] [gdb-7.2-or32-1.0rc1/] [gdb/] [testsuite/] [gdb.cp/] [nsrecurs.cc] - Rev 330
Go to most recent revision | Compare with Previous | Blame | View Log
namespace A { int ax = 9; } namespace B { using namespace A; } namespace C { using namespace B; } using namespace C; //--------------- namespace D { using namespace D; int dx = 99; } using namespace D; //--------------- namespace { namespace { int xx = 999; } } //--------------- namespace E { int ex = 9999; } namespace F { namespace FE = E; } namespace G { namespace GF = F; } //---------------- int main () { using namespace D; namespace GX = G; return ax + dx + xx + G::GF::FE::ex; }
Go to most recent revision | Compare with Previous | Blame | View Log