This was already fixed by a previous change (#67698), but this introduces a test case to ensure that we don't regress rdar://113047811.