blob: 1b5507b1657221b5aa18fe5f1199ec8a54900d8d [file] [log] [blame]
// { dg-do assemble }
// { dg-options "-O2" }
// Origin: Mark Mitchell <mark@codesourcery.com>
struct S
{
~S();
};
inline void f()
{
static S s;
}
typedef void (*fn_t)();
fn_t g()
{
return &f;
}