1 // PR c++/37037
2 
3 typedef void F(void);
4 template <typename T> struct S
5 {
6     static F f;
7 };
8 template class S<int>;
f(void)9 template <class T> void S<T>::f(void)
10 {}
11 
12