This problem is a trivial unless it causes any other worse.
class Dummy {
invariant() const { } // wrong 'const'
}
This code gets some error messages,
including an unexpected one: "Error: no identifier for declarator int".
Where 'int' comes from?
It shows that an uninitialized value is exposed, I suspect.