/* This testcase is part of GDB, the GNU debugger.
- Copyright 2010, 2011 Free Software Foundation, Inc.
+ Copyright 2010-2017 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
static int my_static_symbol;
-int
-main ()
-{
- return my_global_func ();
-}
-
int
my_global_func ()
{
my_global_symbol = my_static_symbol + my_global_symbol;
return my_global_symbol;
}
+
+int
+main ()
+{
+ return my_global_func ();
+}