| Index: gdb/testsuite/gdb.cp/overload.exp
|
| diff --git a/gdb/testsuite/gdb.cp/overload.exp b/gdb/testsuite/gdb.cp/overload.exp
|
| index 43eeabf80098e4a72c0326733fea08c0844dea4f..9d495167cd0bba4321836bb76060e79d8acebec2 100644
|
| --- a/gdb/testsuite/gdb.cp/overload.exp
|
| +++ b/gdb/testsuite/gdb.cp/overload.exp
|
| @@ -1,4 +1,4 @@
|
| -# Copyright 1998-2004, 2007-2012 Free Software Foundation, Inc.
|
| +# Copyright 1998-2013 Free Software Foundation, Inc.
|
|
|
| # This program is free software; you can redistribute it and/or modify
|
| # it under the terms of the GNU General Public License as published by
|
| @@ -139,6 +139,9 @@ gdb_test "print foo_instance3" "\\$\[0-9\]+ = \{ifoo = 222, ccpfoo = $hex \"A\"\
|
| gdb_test "print foo_instance1.overloadargs(1)" "\\$\[0-9\]+ = 1" \
|
| "print call overloaded func 1 arg"
|
|
|
| +# Regression test for overloading with function pointer type.
|
| +gdb_test "print foo_instance1.overloadfnarg(23, intintfunc)" " = 23"
|
| +
|
| # If GDB fails to restore the selected frame properly after the
|
| # inferior function call above (see GDB PR 1155 for an explanation of
|
| # why this might happen), all the subsequent tests will fail. We
|
|
|