mstorsjo wrote: @oltolm Thanks for the contribution! I didn't look at the code yet, but you'll need to add a testcase for this. Have a look at the existing files in `llvm-project/llvm/test/tools/llvm-rc` for examples of existing tests. https://github.com/llvm/llvm-project/pull/67464