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

37 lines
367 B
C++

namespace A
{
int _a = 11;
namespace B{
int ab = 22;
namespace C{
int abc = 33;
int second(){
return 0;
}
}
int first(){
(void) _a;
(void) ab;
(void) C::abc;
return C::second();
}
}
}
int
main()
{
(void) A::_a;
(void) A::B::ab;
(void) A::B::C::abc;
return A::B::first();
}