================ @@ -0,0 +1,15 @@ +// REQUIRES: clang +// RUN: not %clang %s -serialize-diagnostics %s.diag ---------------- jroelofs wrote: recommend putting the new file under `%t` instead of `%s`, so this doesn't pollute the source dir. https://github.com/llvm/llvm-project/pull/118522