Add a test for r222029 that doesn't rely on the default target being a COFF platform.
Add DiagID and Warning Flag to DiagnosticsLog