// { dg-do run } template struct A { template void f (U u); }; A a; template template void A::f (U u) { } int main() { a.f (24); }