Note that the test for #30822 is folded into the test for #30530 (but the file name mentions only 30530).