1// { dg-do assemble  }
2// { dg-options "-O" }
3// Origin: Mark Mitchell <mitchell@codesourcery.com>
4
5template <class T>
6struct S {
7  inline ~S () {}
8};
9
10template <class T>
11void f ()
12{
13  static S<T> s;
14}
15
16template void f<int>();
17