mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
b14e635ec4
* gdb.cp/nsrecurs.exp: New test. * gdb.cp/nsrecurs.cc: New test program. * gdb.cp/nsstress.exp: New test. * gdb.cp/nsstress.cc: New test program. * gdb.cp/nsdecl.exp: New test. * gdb.cp/nsdecl.cc: New test program. 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com> * cp-namespace.c (cp_lookup_symbol_namespace): Added search_parent argument. (cp_add_using): Initialize 'searched' field. (reset_directive_searched): New function. * cp-support.h: Add 'searched' field to using_direct struct. (cp_lookup_symbol_imports): Ditto. * cp-namespace.c (cp_lookup_symbol_imports): Ditto. Perform recursive search. Implement non parent search. * valops.c (value_maybe_namespace_elt): Updated.
94 lines
912 B
C++
94 lines
912 B
C++
int a;
|
|
int b;
|
|
int c;
|
|
int d;
|
|
int e;
|
|
int f;
|
|
int g;
|
|
int h;
|
|
int i;
|
|
int j;
|
|
int k;
|
|
int l;
|
|
int m;
|
|
int n;
|
|
int o;
|
|
int p;
|
|
int q;
|
|
int r;
|
|
int s;
|
|
int t;
|
|
int u;
|
|
int v;
|
|
int w;
|
|
int x;
|
|
int y;
|
|
int z;
|
|
|
|
namespace A
|
|
{
|
|
int xyz;
|
|
|
|
using ::a;
|
|
using ::b;
|
|
using ::c;
|
|
using ::d;
|
|
using ::e;
|
|
using ::f;
|
|
using ::g;
|
|
using ::h;
|
|
using ::i;
|
|
using ::j;
|
|
using ::k;
|
|
using ::l;
|
|
using ::m;
|
|
using ::n;
|
|
using ::o;
|
|
using ::p;
|
|
using ::q;
|
|
using ::r;
|
|
using ::s;
|
|
using ::t;
|
|
using ::u;
|
|
using ::v;
|
|
using ::w;
|
|
using ::x;
|
|
using ::y;
|
|
using ::z;
|
|
|
|
}
|
|
|
|
using A::a;
|
|
using A::b;
|
|
using A::c;
|
|
using A::d;
|
|
using A::e;
|
|
using A::f;
|
|
using A::g;
|
|
using A::h;
|
|
using A::i;
|
|
using A::j;
|
|
using A::k;
|
|
using A::l;
|
|
using A::m;
|
|
using A::n;
|
|
using A::o;
|
|
using A::p;
|
|
using A::q;
|
|
using A::r;
|
|
using A::s;
|
|
using A::t;
|
|
using A::u;
|
|
using A::v;
|
|
using A::w;
|
|
using A::x;
|
|
using A::y;
|
|
using A::z;
|
|
|
|
using namespace A;
|
|
|
|
int main ()
|
|
{
|
|
return 0;
|
|
}
|