2 // Origin: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
5 // { dg-options "--param ggc-min-expand=0 --param ggc-min-heapsize=0" }
9 template<typename> struct A
15 template<typename> struct B
18 static void bar() { foo(); }
23 template<typename> struct D : C
26 ~D() { B<void>::bar(); }
29 template<typename> struct E : D<void>
37 new E<void>(A<void>());