aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.c++/derivation.cc
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2003-04-11 19:57:33 +0000
committerJim Blandy <jimb@codesourcery.com>2003-04-11 19:57:33 +0000
commit93201743fe8d5101d388a4593d31035e2b0901d4 (patch)
treef9c386623cea976e02a13a644e57124049181a34 /gdb/testsuite/gdb.c++/derivation.cc
parent6913c89ac7bc62da99c5bb292de820098a2bacd2 (diff)
downloadbinutils-93201743fe8d5101d388a4593d31035e2b0901d4.zip
binutils-93201743fe8d5101d388a4593d31035e2b0901d4.tar.gz
binutils-93201743fe8d5101d388a4593d31035e2b0901d4.tar.bz2
* gdb.c++/derivation.exp, gdb.c++/overload.exp,
gdb.c++/userdef.cc: Place comments on the lines to which the marker function might return. * gdb.c++/derivation.exp, gdb.c++/overload.exp, gdb.c++/userdef.exp: Look for those comments to check that we've returned to the right place, instead of checking line numbers.
Diffstat (limited to 'gdb/testsuite/gdb.c++/derivation.cc')
-rw-r--r--gdb/testsuite/gdb.c++/derivation.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.c++/derivation.cc b/gdb/testsuite/gdb.c++/derivation.cc
index 99efa76..f6d42e7 100644
--- a/gdb/testsuite/gdb.c++/derivation.cc
+++ b/gdb/testsuite/gdb.c++/derivation.cc
@@ -214,9 +214,9 @@ int main(void)
#endif
- marker1();
+ marker1(); // marker1-returns-here
- a_instance.a = 20;
+ a_instance.a = 20; // marker1-returns-here
a_instance.aa = 21;
b_instance.b = 22;
b_instance.bb = 23;