Add tests to ensure clang-format doesn't break code by triggering automatic semicolon insertion changes.
NFC intended.
Submitted in r239594.