class base {
public:
    base a;
};

It gives compilation error.

class base {
public:
    static base a;
};

whereas this code does not give compilation error

Edit
Report