diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/gdb.compile/compile.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.compile/compile.exp b/gdb/testsuite/gdb.compile/compile.exp index f2ab4fa..86521e9 100644 --- a/gdb/testsuite/gdb.compile/compile.exp +++ b/gdb/testsuite/gdb.compile/compile.exp @@ -307,7 +307,7 @@ gdb_test "compile code globalvar = func_nodebug (75);" \ "call func_nodebug" gdb_test "p globalvar" " = -75" "expect -75" gdb_test \ - "compile code int (*funcp) (int) = func_nodebug; globalvar = funcp (76);" \ + "compile code int (*funcp) (int) = (int (*) (int)) func_nodebug; globalvar = funcp (76);" \ "warning: function has unknown return type; assuming int" \ "call func_nodebug indirectly" gdb_test "p globalvar" " = -76" "expect -76" |