Unnamed repository; edit this file 'description' to name the repository.
Auto merge of #101232 - nikic:issue-98294, r=Mark-Simulacrum
Add test for #98294
Add a test to make that the failure condition for this pattern is optimized away.
Fixes #98294.