Add test for issue #85872 This has been fixed by the LLVM 15 upgrade, add a codegen test. Fixes #85872.