Test based on #82064 (Miguel's commit)