blob: 7fbec89b645ed0845aa99bc5e0590f3b4bf7e92d [file] [log] [blame]
extern "C" void abort (void);
extern void g (void);
extern void h (void);
int r;
int c;
int f ()
{
// Test that we only initialize i once.
if (++c > 1)
++r;
return 42;
}
void
init_ref2_x (void)
{
g ();
h ();
if (r != 0)
abort ();
}