794684b64f
* dwarf2read.c (read_import_statement): Properly set import location and destination. * cp-support.h (cp_add_using, cp_add_using_directive): Now take char* inner, char* outer arguments. Updated callers. 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com> * gdb.cp/namespace-nested-import.cc: New test. * gdb.cp/namespace-nested-import.exp: New test.
13 lines
134 B
C++
13 lines
134 B
C++
namespace A{
|
|
namespace B{
|
|
namespace C{
|
|
int x = 5;
|
|
}
|
|
}
|
|
}
|
|
|
|
int main(){
|
|
using namespace A::B;
|
|
return C::x;
|
|
}
|