Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/gdb/testsuite/gdb.cp/nsnested.cc
2023-03-06 14:48:14 +01:00

36 lines
291 B
C++

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