// { dg-options "-w" } template struct S { int i; template void f(U) {} }; template<> template void S::f(U) { i; } void f() { S s; s.f(3); }