blob: 9bb58b41d47fc83bfbe312619f73521bfb4a9a12 [file] [log] [blame]
template <class T>
struct B
{
void f(T *p)
{
p->template A<int>::~A<int>();
p->A::~A();
p->~A<int>();
p->~A();
p->~T();
p->T::~T();
}
};
template <class T>
struct A
{ };
int main()
{
B<A<int> >().f(0);
}