(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
lto/
20081109-2_0.C
/* { dg-lto-do assemble }  */
extern void func(int);

struct Foo
{
 void bar() {
   static int local;
   func(local);
 }
 void baz();
};

void Foo::baz() {
 bar();
}