'identifier' : 'modifier' not permitted on data declarations
The friend, virtual, and inline modifiers cannot be used for data declarations. The following sample generates C2433:
class A { virtual static int b; // C2433, remove virtual to resolve the error }; void main() { }