aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/pr-574.exp
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-01-25 09:36:25 -0700
committerTom Tromey <tom@tromey.com>2023-01-26 18:28:31 -0700
commit879ebc530082ac9a90a48c0d02c073b39d98a1cc (patch)
tree62b2a34e8dde6c827baef5ed1592743c456e8094 /gdb/testsuite/gdb.cp/pr-574.exp
parent9b21b701bb5725071f5304d52a6aadad1f421e9e (diff)
downloadgdb-879ebc530082ac9a90a48c0d02c073b39d98a1cc.zip
gdb-879ebc530082ac9a90a48c0d02c073b39d98a1cc.tar.gz
gdb-879ebc530082ac9a90a48c0d02c073b39d98a1cc.tar.bz2
Eliminate spurious returns from the test suite
A number of tests end with "return". However, this is unnecessary. This patch removes all of these.
Diffstat (limited to 'gdb/testsuite/gdb.cp/pr-574.exp')
-rw-r--r--gdb/testsuite/gdb.cp/pr-574.exp1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.cp/pr-574.exp b/gdb/testsuite/gdb.cp/pr-574.exp
index 4854ba2..762d321 100644
--- a/gdb/testsuite/gdb.cp/pr-574.exp
+++ b/gdb/testsuite/gdb.cp/pr-574.exp
@@ -55,4 +55,3 @@ gdb_continue_to_breakpoint "end of constructors"
gdb_test "print *theB" "\\$\[0-9\]* = {<A> = {\[^}\]*}, static b = <optimized out>}" "PR gdb/574"
gdb_exit
-return 0