elizabethandrews wrote: > Can you add tests for #227549 too since that issue is also due to a missing argument count check Done. I added to the existing diagnostic test file. https://github.com/llvm/llvm-project/pull/227421