jroelofs wrote: > You should use %ProtectFileCheckOutput on the first FileCheck invocation I believe, similar to what is done in llvm/test/FileCheck/bad-char.txt for instance. 17e32c921acc856498ad13ade495374bed4605b2 https://github.com/llvm/llvm-project/pull/147833