After some find and replace refactoring I ended up with this gem:
const class A { };
What does \"const class\" mean? It seems to compile ok
If you had this:
const class A { } a;
Then it would clearly mean that 'a' is const. Otherwise, I think that it is likely invalid c++.