zyx-billy wrote: OK turns out the test isn't too hard. Just had to make the previous nested recursive-decl test also use the nested decl again outside, which will die if it was cached to a temporary. https://github.com/llvm/llvm-project/pull/88122