8sa1-gcc/gcc/testsuite/g++.old-deja/g++.other/inline4.C
Mark Mitchell a71811fe38 integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on copied LABEL_DECLs.
* integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
	copied LABEL_DECLs.

From-SVN: r31173
2000-01-03 03:33:09 +00:00

26 lines
278 B
C

// Build don't link:
// Origin: Mark Mitchell <mark@codesourcery.com>
// Special g++ Options: -O2
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 ();
}