Errors for all const types.
Add generated tests.