summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/dtor1.C
blob: f5d9d6aad180b023e6e3ff65a27ec50c09f9beca (plain)
1
2
3
4
5
6
7
8
struct A {};

template <typename T> struct B
{
  B() { A().A::~A(); }
};

B<void> b;