Diagnostic tests for expected semicolon situations.