// PR c++/47971 template struct S { typedef double T; S () { T ().~T (); } }; S s;