1 // { dg-options "-w" }
2 
3 template <typename T>
4 struct S {
5   int i;
fS6   template <typename U> void f(U) {}
7 };
8 
9 template<>
10 template <typename U>
f(U)11 void S<int>::f(U) { i; }
12 
f()13 void f() {
14   S<int> s;
15   s.f<int>(3);
16 }
17