diff options
author | Thomas Preud'homme <thomas.preudhomme@arm.com> | 2017-11-29 10:45:31 +0000 |
---|---|---|
committer | Thomas Preud'homme <thomas.preudhomme@arm.com> | 2017-11-29 10:45:31 +0000 |
commit | f106e10e5e80265e1c43532bba4cb997a7dfa022 (patch) | |
tree | 0746a8a878d5db303c516d66d08b77d52c5e88cb /ld/testsuite/ld-elf/pr22471.t | |
parent | ca39c2f4dd0fedcaaee348be7a913f0c14876796 (diff) | |
download | gdb-f106e10e5e80265e1c43532bba4cb997a7dfa022.zip gdb-f106e10e5e80265e1c43532bba4cb997a7dfa022.tar.gz gdb-f106e10e5e80265e1c43532bba4cb997a7dfa022.tar.bz2 |
[gdb/testsuite] Fix wrong return type in tests
The following tests are marked untested with latest GCC due to a warning
being emitted for a mismatch between their return type and what the lack
of return statement:
* gdb.cp/breakpoint.exp
* gdb.cp/psymtab-parameter.exp
* gdb.cp/shadow.exp
This patch fix the return type to match the function definitions.
2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
gdb/testsuite/
* gdb.cp/breakpoint.cc (bar): Set return type to void.
* gdb.cp/psymtab-parameter.cc (func): Likewise.
* gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
func ().
* gdb.cp/shadow.cc (B.func): Return 0.
Diffstat (limited to 'ld/testsuite/ld-elf/pr22471.t')
0 files changed, 0 insertions, 0 deletions