// PR c++/41972 struct X { static const double x; }; template class Foo { }; template struct Y { typedef Foo type; };