blob: 1ca2a3cd981fb75100be3680fdaf3a2d4e08f93b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// { 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>();
|