[cc] Added some parser tests for charref errors.