// { dg-do run } template struct A { template struct B { template struct C { template struct D { template struct E { template struct F { template void f (Z) { } void g () { } }; }; }; }; }; }; int main () { A::B::C::D::E::F b; b.f (42); b.g (); }