Compiler Error C2735

'keyword' keyword is not permitted in formal parameter type specifier

The specified keyword was illegal in its context.

The following are examples of this error:

void main()
{
   int *myint;
   myint = new static int;     // error
   myint = new typedef int;    // error
   myint = new auto int;       // error
   myint = new register int;   // error
}