Compiler Error C2321

syntax error: unexpected 'identifier'

A qualified name was encountered in an unexpected place.

The following is an example of this error:

struct A { struct B { }; };

void f()      // note missing '{'
A::B x;      // error
}