forked from Imagelibrary/binutils-gdb
2004-03-05 David Carlton <carlton@kealia.com>
* cp-namespace.c (cp_lookup_transparent_type_loop): Fix recursion bug. 2004-03-05 David Carlton <carlton@kealia.com> * gdb.cp/rtti.exp: Add 'print *obj3' test. * gdb.cp/rtti.h: Update copyright. (namespace n2::n3): New. * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New. (n2::n3::func3): New. (main): Call n2::n3::func3. * gdb.cp/rtti2.cc: Update copyright. (n2::create3): New.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* Code to go along with tests in rtti.exp.
|
||||
|
||||
Copyright 2003 Free Software Foundation, Inc.
|
||||
Copyright 2003, 2004 Free Software Foundation, Inc.
|
||||
|
||||
Contributed by David Carlton <carlton@bactrian.org> and by Kealia,
|
||||
Inc.
|
||||
@@ -45,4 +45,12 @@ namespace n2 {
|
||||
};
|
||||
|
||||
extern C2 *create2();
|
||||
|
||||
namespace n3 {
|
||||
class C3 : public C2 {
|
||||
public:
|
||||
};
|
||||
}
|
||||
|
||||
extern n3::C3 *create3();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user