// PR c++/37037 typedef void F(void); template struct S { static F f; }; template class S; template void S::f(void) {}