rt_gccstream/gcc/testsuite/g++.old-deja/g++.other/inline4.C

26 lines
276 B
C

// { dg-do assemble }
// { dg-options "-O2" }
// Origin: Mark Mitchell <mark@codesourcery.com>
inline void f ()
{
return;
}
inline void g ();
void (*gp)() = &g;
inline void g ()
{
f ();
}
extern int array_size;
void h ()
{
int lookup_array[array_size];
g ();
}