blob: 1ca2a3cd981fb75100be3680fdaf3a2d4e08f93b [file] [log] [blame]
// { dg-do assemble }
// { dg-options "-O" }
// Origin: Mark Mitchell <mitchell@codesourcery.com>
template <class T>
struct S {
inline ~S () {}
};
template <class T>
void f ()
{
static S<T> s;
}
template void f<int>();