Internal error. This warning is no longer generated by the compiler.
The following code is illegal:
template<class T> class foo { int x; }
template<> class foo<int> { int y; }
template<> int foo<int>::y; // error: cannot explicitly specialize of 'foo<int>::x'