Regression test for the --serialize-diagnostics problem fixed in r221884.