aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/gdb2384-base.h
diff options
context:
space:
mode:
authorSami Wagiaalla <swagiaal@redhat.com>2010-03-12 21:13:15 +0000
committerSami Wagiaalla <swagiaal@redhat.com>2010-03-12 21:13:15 +0000
commit00ae8fef8883adef0630bd05a92d78f63cf0b4d1 (patch)
treecee52ba2cb00c17e6f8191ce7526f8d32e7b57b0 /gdb/testsuite/gdb.cp/gdb2384-base.h
parent21e24d21198c2fa2088993ff8c6ec6505ba68860 (diff)
downloadgdb-00ae8fef8883adef0630bd05a92d78f63cf0b4d1.zip
gdb-00ae8fef8883adef0630bd05a92d78f63cf0b4d1.tar.gz
gdb-00ae8fef8883adef0630bd05a92d78f63cf0b4d1.tar.bz2
2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
* buildsym.c (finish_block): Reset using_directives pointer after block initialization. 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com> * gdb.cp/gdb2384-base.h: Created 'namespace B'. * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
Diffstat (limited to 'gdb/testsuite/gdb.cp/gdb2384-base.h')
-rw-r--r--gdb/testsuite/gdb.cp/gdb2384-base.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/gdb2384-base.h b/gdb/testsuite/gdb.cp/gdb2384-base.h
index b09701e..981943c 100644
--- a/gdb/testsuite/gdb.cp/gdb2384-base.h
+++ b/gdb/testsuite/gdb.cp/gdb2384-base.h
@@ -16,6 +16,10 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+namespace B{
+ int x;
+}
+
class base
{
public: