old-cross-binutils/gdb/testsuite/gdb.cp/nsnested.cc

37 lines
284 B
C++
Raw Normal View History

namespace A
{
namespace B
{
int ab = 11;
}
}
namespace C
{
namespace D
{
using namespace A::B;
int
second()
{
ab;
return 0;
}
}
int
first()
{
//ab;
return D::second();
}
}
int
main()
{
//ab;
return C::first();
}