diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2008-10-03 22:02:20 +0000 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2008-10-03 22:02:20 +0000 |
commit | 4fc5b2085878cffdc16f6ca7cbcb27cbdb12f11a (patch) | |
tree | 4a7cc78ac020ed32fcaffa602b48d42c4bfd1945 /gdb/testsuite/gdb.cp/gdb2384-base.h | |
parent | 5ef737906e22d88134542767e0382c35b30d1a6c (diff) | |
download | gdb-4fc5b2085878cffdc16f6ca7cbcb27cbdb12f11a.zip gdb-4fc5b2085878cffdc16f6ca7cbcb27cbdb12f11a.tar.gz gdb-4fc5b2085878cffdc16f6ca7cbcb27cbdb12f11a.tar.bz2 |
2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
PR gdb/2384:
* gdb.cp/gdb2384.exp: Extended to test more cases.
* gdb.cp/gdb2384.cc: Likewise.
* gdb.cp/gdb2384-base.h: Likewise.
* gdb.cp/gdb2384-base.cc: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.cp/gdb2384-base.h')
-rw-r--r-- | gdb/testsuite/gdb.cp/gdb2384-base.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/gdb2384-base.h b/gdb/testsuite/gdb.cp/gdb2384-base.h index 945ca81..f32cff4 100644 --- a/gdb/testsuite/gdb.cp/gdb2384-base.h +++ b/gdb/testsuite/gdb.cp/gdb2384-base.h @@ -23,3 +23,9 @@ class base int x; virtual int meth (); }; + +class derived : public base +{ + public: + derived (int _x); +}; |