static int filelocal = 2;
static int filelocal_bss;
#ifndef __STDC__
#define const
#endif
static const int filelocal_ro = 202;
void foo ()
{
void bar ();
static int funclocal = 3;
static int funclocal_bss;
static const int funclocal_ro = 203;
static const int funclocal_ro_bss;
funclocal_bss = 103;
bar ();
}
void bar ()
{
static int funclocal = 4;
static int funclocal_bss;
funclocal_bss = 104;
}
void init1 ()
{
filelocal_bss = 102;
}
void usestatics1 ()
{
void useit1 (int val);
useit1 (filelocal);
useit1 (filelocal_bss);
useit1 (filelocal_ro);
}
#ifdef PROTOTYPES
void useit1 (int val)
#else
void useit1 (val) int val;
#endif
{
static int usedval;
usedval = val;
}