aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/namespace.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.cp/namespace.cc')
-rw-r--r--gdb/testsuite/gdb.cp/namespace.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.cp/namespace.cc b/gdb/testsuite/gdb.cp/namespace.cc
index ee55168..4ac9187 100644
--- a/gdb/testsuite/gdb.cp/namespace.cc
+++ b/gdb/testsuite/gdb.cp/namespace.cc
@@ -168,6 +168,8 @@ namespace C
}
}
+extern int ensureOtherRefs ();
+
int main ()
{
using AAA::inA;
@@ -195,4 +197,7 @@ int main ()
marker1();
C::D::marker2 ();
+
+ C::ensureRefs ();
+ ensureOtherRefs ();
}