diff options
author | Daniel Jacobowitz <drow@false.org> | 2009-11-12 19:35:26 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2009-11-12 19:35:26 +0000 |
commit | f0df251a26c53481e32d390da65acbdea79f3a82 (patch) | |
tree | 3fea99fc5ef5e86b140c3f6e20c546b9ee268686 /gdb/testsuite/gdb.cp/hang1.cc | |
parent | ba950e4de515992b73b879bf39732daa8351eb45 (diff) | |
download | gdb-f0df251a26c53481e32d390da65acbdea79f3a82.zip gdb-f0df251a26c53481e32d390da65acbdea79f3a82.tar.gz gdb-f0df251a26c53481e32d390da65acbdea79f3a82.tar.bz2 |
* gdb.base/break.c (need_malloc): New.
* gdb.base/constvars.c (main): Reference crass and crisp.
* gdb.base/gdb1821.c (main): Reference bar.
* gdb.cp/gdb1355.cc (main): Reference s1.
* gdb.cp/hang1.cc (dummy2, dummy3): Declare.
(main): Call them.
* gdb.cp/hang2.cc (dummy2): Define.
* gdb.cp/hang3.cc (dummy3): Define.
* gdb.cp/m-data.cc (main): Reference shadow.
Diffstat (limited to 'gdb/testsuite/gdb.cp/hang1.cc')
-rw-r--r-- | gdb/testsuite/gdb.cp/hang1.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.cp/hang1.cc b/gdb/testsuite/gdb.cp/hang1.cc index 4b04d77..d9b0672 100644 --- a/gdb/testsuite/gdb.cp/hang1.cc +++ b/gdb/testsuite/gdb.cp/hang1.cc @@ -1,3 +1,6 @@ #include "hang.H" -int main (int argc, char **argv) { return 0; } +extern int dummy2 (void); +extern int dummy3 (void); + +int main (int argc, char **argv) { return dummy2() + dummy3(); } |