diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/advance.c')
-rw-r--r-- | gdb/testsuite/gdb.base/advance.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.base/advance.c b/gdb/testsuite/gdb.base/advance.c index 8066dee..ab86b0e 100644 --- a/gdb/testsuite/gdb.base/advance.c +++ b/gdb/testsuite/gdb.base/advance.c @@ -13,15 +13,15 @@ int bar (int y) return z; } -void func() +int func2 () { - x = x + 5; - func2 (); + x = 6; } -int func2 () +void func() { - x = 6; + x = x + 5; + func2 (); } int func3 () |