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.cc | |
parent | 5ef737906e22d88134542767e0382c35b30d1a6c (diff) | |
download | binutils-gdb-4fc5b2085878cffdc16f6ca7cbcb27cbdb12f11a.tar.gz |
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.cc')
-rw-r--r-- | gdb/testsuite/gdb.cp/gdb2384-base.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/gdb2384-base.cc b/gdb/testsuite/gdb.cp/gdb2384-base.cc index 76b24db72ff..44a133db1d0 100644 --- a/gdb/testsuite/gdb.cp/gdb2384-base.cc +++ b/gdb/testsuite/gdb.cp/gdb2384-base.cc @@ -28,3 +28,8 @@ base::meth () { return x; } + +derived::derived (int _x) + : base (_x) +{ +} |