// { dg-do assemble } // GROUPS passed templates membertemplates template struct B { }; template struct D { struct E { template static void f(B) { } }; }; template struct A { template static void f(B, B b) { typedef typename D::E E; E::f(b); } }; void foo() { A<5>::f(B<5,float>(),B<3,float>()); }