diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/code_elim2.c')
-rw-r--r-- | gdb/testsuite/gdb.base/code_elim2.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.base/code_elim2.c b/gdb/testsuite/gdb.base/code_elim2.c index 64ecc04..875228a 100644 --- a/gdb/testsuite/gdb.base/code_elim2.c +++ b/gdb/testsuite/gdb.base/code_elim2.c @@ -20,15 +20,15 @@ int my_global_symbol = 42; static int my_static_symbol; int -main () -{ - return my_global_func (); -} - -int my_global_func () { my_static_symbol = my_global_symbol; my_global_symbol = my_static_symbol + my_global_symbol; return my_global_symbol; } + +int +main () +{ + return my_global_func (); +} |