Add tests for the parsing of `+` and the error messages if people get it wrong.

Fixes #18772.