summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/pseudodtor6.C
blob: 4438b6ffb33b94233d30289e3aa50134d58aa9f7 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/47971

template <typename> struct S
{
  typedef double T;
  S () { T ().~T (); }
};

S<double> s;