This is a extension for #59999 tests in order to make them reproduce the issue reported.
After local tests, I found out the definition in a "part unit" being instantiated in a deeper dependency tree is fundamental to the failure. So, in the case of this issue, splitting the code with its parts and the World module are important.
Also, I noticed more symbols are also important to reproduce the issue.
For extra context, this issue is Windows-only, and it was not failing all the time (my standalone minimal test took a couple of rebuilds until I had it crashing).
I'm trying to run this patch using LLVM sources on my machine, but unfortunately, I'm facing disk space issues (it's an old Windows machine).