2002-04-05 02:45:48 +00:00
|
|
|
static int static_foo = 1;
|
|
|
|
static int static_bar = 2;
|
|
|
|
|
2003-07-24 18:45:43 +00:00
|
|
|
/* This padding is just for the benefit of the test harness. It
|
|
|
|
causes the globals to have different addresses than the functions. */
|
2004-02-29 02:58:28 +00:00
|
|
|
int dummy[] = {1, 1, 1, 1, 1, 1, 1, 1, 1, 1};
|
2003-07-24 18:45:43 +00:00
|
|
|
|
2002-04-05 02:45:48 +00:00
|
|
|
int global_foo = 3;
|
|
|
|
int global_bar = 4;
|
|
|
|
|
|
|
|
int
|
|
|
|
function_foo ()
|
|
|
|
{
|
|
|
|
return 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
int
|
|
|
|
function_bar ()
|
|
|
|
{
|
|
|
|
return 6;
|
|
|
|
}
|