diff options
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(); } |