Debian Codegraph @

gcc/testsuite/g++.dg/template/dtor11.C

raw
1 template <class T>
2 struct B
3 {
4 void f(T *p)
5 {
6 p->template A<int>::~A<int>();
7 p->A::~A();
8 p->~A<int>();
9 p->~A();
10 p->~T();
11 p->T::~T();
12 }
13 };
14
15 template <class T>
16 struct A
17 { };
18
19 int main()
20 {
21 B<A<int> >().f(0);
22 }