Compiler Error C2998

'identifier' : is not a valid name for a template definition

The template definition used an ununderstandable syntax. The following code generates this error:

template <class T> int x = 1018;