aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-01-12 20:15:47 +0000
committerDaniel Jacobowitz <drow@false.org>2007-01-12 20:15:47 +0000
commit2f12c31222517da31c4c874dcab04e26bcf5fc0c (patch)
tree5858835350c09197d5b329569ce944f051239e63 /gdb/testsuite/gdb.cp
parenta454209dbc587ac30042e17c361b6c98eb6159e0 (diff)
downloadgdb-2f12c31222517da31c4c874dcab04e26bcf5fc0c.zip
gdb-2f12c31222517da31c4c874dcab04e26bcf5fc0c.tar.gz
gdb-2f12c31222517da31c4c874dcab04e26bcf5fc0c.tar.bz2
* gdb.cp/member-ptr.cc (class Padding): Make contents public.
Diffstat (limited to 'gdb/testsuite/gdb.cp')
-rw-r--r--gdb/testsuite/gdb.cp/member-ptr.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/member-ptr.cc b/gdb/testsuite/gdb.cp/member-ptr.cc
index b216bb1..d5986ed 100644
--- a/gdb/testsuite/gdb.cp/member-ptr.cc
+++ b/gdb/testsuite/gdb.cp/member-ptr.cc
@@ -86,6 +86,7 @@ typedef int A::*PMI;
added twice - otherwise it would be 2 * 0 == 0. */
class Padding
{
+public:
int spacer;
virtual int vspacer();
};