1 // PR c++/21627 2 3 template<typename T> 4 struct TPL 5 { TPLTPL6 TPL (){} ~TPLTPL7 ~TPL (){} methodTPL8 void method () {} 9 }; 10 11 template <> TPL<int>::TPL (); 12 template <> TPL<int>::~TPL (); 13 template <> void TPL<int>::method (); 14 Foo()15void Foo () 16 { 17 TPL<int> i; 18 i.method (); 19 } 20 21