summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/gdb2384-base.cc
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.cc
parent21e24d21198c2fa2088993ff8c6ec6505ba68860 (diff)
downloadbinutils-gdb-00ae8fef8883adef0630bd05a92d78f63cf0b4d1.tar.gz
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.cc')
-rw-r--r--gdb/testsuite/gdb.cp/gdb2384-base.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/gdb2384-base.cc b/gdb/testsuite/gdb.cp/gdb2384-base.cc
index 09ed04ebace..b58f30db1f9 100644
--- a/gdb/testsuite/gdb.cp/gdb2384-base.cc
+++ b/gdb/testsuite/gdb.cp/gdb2384-base.cc
@@ -23,6 +23,8 @@ base::base (int _x)
{
}
+using namespace B;
+
int
base::meth ()
{