// { dg-do run } template struct A { template struct B { template void f (V) { } void g () { } }; }; int main () { A::B b; b.f (42); b.g (); }